create dockerfile for dev and update compose

This commit is contained in:
Zachary Chai
2017-01-17 11:29:10 -05:00
parent bc6eb444ce
commit cef36d112c
3 changed files with 13 additions and 22 deletions

10
Dockerfile.dev Normal file
View File

@ -0,0 +1,10 @@
FROM ruby:2.3.1
# app dependencies
RUN apt-get update -qq && apt-get install -y build-essential libpq-dev nodejs
ENV RAILS_ENV=development \
APP_HOME=/usr/src/app
RUN mkdir $APP_HOME
WORKDIR $APP_HOME