fix web command

Parts of the command were already executed in the Dockerfile; Adding a
Path twice to the $PATH variable seems to break it.
This commit is contained in:
Vri 🌈 2023-05-02 11:36:36 +02:00
parent 2a39a2d454
commit bc721e58cb
Signed by: vrifox
GPG key ID: D40098E5B60B2197

View file

@ -13,7 +13,7 @@ services:
- ELASTICSEARCH_URL=http://elasticsearch:9200
- APPLICATION_HOST=$APPLICATION_HOST
- SHARED_IMPORT_SECRET=$SHARED_IMPORT_SECRET
command: sh -c "cd /home/srm/app && export PATH=/home/srm/.rbenv/bin:$PATH && eval \"$(~/.rbenv/bin/rbenv init -)\" && bundle install && bundle exec puma -C config/puma.rb"
command: sh -c "cd /home/srm/app && bundle install && bundle exec puma -C config/puma.rb"
elasticsearch:
user: elasticsearch
build: ./docker/elasticsearch