Added yarn install to docker-compose up; allows the app to work properly in the Docker environment

This commit is contained in:
Jason Hsu
2020-10-26 11:07:01 -05:00
parent b66b50cd56
commit 00624d1b96

View File

@@ -28,6 +28,7 @@ services:
command: >
bash -c "wait-for-it -t 30 db:5432 &&
rm -f tmp/pids/server.pid &&
yarn install &&
bundle exec rails s -p 3000 -b '0.0.0.0'"
worker:
tty: true