This commit is contained in:
sam 2022-05-15 19:25:50 +04:30
parent e60c84b54b
commit 01e10d4936

View File

@ -16,7 +16,7 @@ services:
build:
context: .
dockerfile: Dockerfile
command: bash -c "rm -f tmp/pids/server.pid && EDITOR='mate --wait' bundle exec rails credentials:edit && bundle exec rake assets:precompile && bundle exec rake db:create db:migrate db:seed && bundle exec rails s -e production -b '0.0.0.0'"
command: bash -c "rm -f tmp/pids/server.pid && bundle install && EDITOR='mate --wait' bundle exec rails credentials:edit && bundle exec rake db:create db:migrate db:seed && bundle exec rails s -e production -b '0.0.0.0'"
volumes:
- .:/app
- bundle:/usr/local/bundle