Add db preparation and webpack compilation when launching the container

This commit is contained in:
riggraz
2019-08-25 20:47:44 +02:00
parent 24339c0e08
commit c67774334c
4 changed files with 23 additions and 13 deletions

View File

@@ -6,7 +6,6 @@ services:
- ./tmp/db:/var/lib/postgresql/data
web:
build: .
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
volumes:
- .:/app
ports: