edit docker
This commit is contained in:
parent
c1305cbb0c
commit
53127dfd44
|
@ -16,7 +16,7 @@ services:
|
|||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
command: bash -c "rm -f tmp/pids/server.pid && bundle exec rake db:create db:migrate db:seed && bundle exec rails s -b '0.0.0.0'"
|
||||
command: bash -c "rm -f tmp/pids/server.pid && EDITOR='mate --wait' bundle exec rails credentials:edit && bundle exec rake db:create db:migrate db:seed && bundle exec rails s -b '0.0.0.0'"
|
||||
volumes:
|
||||
- .:/app
|
||||
- bundle:/usr/local/bundle
|
||||
|
|
Loading…
Reference in New Issue
Block a user