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

View File

@ -1,7 +1,9 @@
version: '2'
services:
web:
build: .
build:
context: .
dockerfile: Dockerfile.dev
ports:
- '80:80'
volumes:
@ -10,7 +12,6 @@ services:
- gem_cache
expose:
- '3001'
working_dir: '/usr/src/app'
stdin_open: true
tty: true
command: bundle exec rails s -p 80 -b '0.0.0.0'