From bc721e58cb2c8a77f6e5eb403d65aeec11590e27 Mon Sep 17 00:00:00 2001 From: vrifox Date: Tue, 2 May 2023 11:36:36 +0200 Subject: [PATCH] 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. --- docker-compose.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 175b6b2..7285aaf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -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