notebook/docker-compose.yml
Seth Falco a3ac84d59a Add .dockerignore to reduce build context.
Clean up docker-compose.yml and update to version 3.8.
Updated Dockerfile to follow Docker's best practices.
Added comments to help make it easier to understand for contributors not using Docker.
2020-10-06 16:53:17 +02:00

10 lines
236 B
YAML

version: "3.8"
services:
notebookai:
build: .
ports:
- "3000:3000/tcp"
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"