greenlight/docker-compose.yml

22 lines
373 B
YAML

version: '3'
services:
web:
build:
context: .
dockerfile: Dockerfile.dev
ports:
- '80:80'
volumes:
- '.:/usr/src/app'
- gem_cache:/usr/local/bundle
env_file:
- .env
expose:
- '3001'
stdin_open: true
tty: true
command: bundle exec rails s -p 80 -b '0.0.0.0'
volumes:
gem_cache:
driver: local