notebook/docker-compose.yml
Euan Kemp 97e85d46bd use 'bundle's version of 'rails'
Installing rails using 'gem' is much more tricky to manage than using
the version set in the Gemfile via 'bundle exec'
2018-05-22 22:21:54 -07:00

10 lines
252 B
YAML

version: '2'
services:
web:
build: .
command: sh -c "rake db:migrate && rm -f tmp/pids/server.pid && exec bundle exec rails server -b '0.0.0.0'"
volumes:
- .:/notebook-ai
ports:
- "3000:3000"