From be086fbe1717ddc4194fe703a78fae2d05131ba0 Mon Sep 17 00:00:00 2001 From: Andy Wallace Date: Fri, 27 Sep 2024 11:52:43 -0700 Subject: [PATCH] dev: remove docker volume for bundle_dir ruby gems will now be used directly from the image; incremental local changes will not persist and `bundle install` will no longer be run at startup. changes to the gemfile will require the image to be rebuilt --- docker-compose.yml | 2 -- docker/start-app.sh | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 539963a85..93e59c0b7 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -20,7 +20,6 @@ services: volumes: - .:/californica - ./data:/opt/data - - bundle_dir:/usr/local/bundle - californica_tmp:/californica/tmp - derivatives:/opt/derivatives - californica_log:/californica/log @@ -44,7 +43,6 @@ services: volumes: - .:/californica - ./data:/opt/data - - bundle_dir:/usr/local/bundle - californica_log:/californica/log - californica_tmp:/californica/tmp - derivatives:/opt/derivatives diff --git a/docker/start-app.sh b/docker/start-app.sh index 7ddf4a121..dd14dfc93 100644 --- a/docker/start-app.sh +++ b/docker/start-app.sh @@ -1,6 +1,6 @@ #!/bin/bash -bundle check || bundle install +# bundle check || bundle install find . -name *.pid -delete bundle exec rails s -b 0.0.0.0