Skip to content

Commit

Permalink
dev: remove docker volume for bundle_dir
Browse files Browse the repository at this point in the history
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
  • Loading branch information
sourcefilter committed Sep 27, 2024
1 parent 3962be1 commit be086fb
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
2 changes: 1 addition & 1 deletion docker/start-app.sh
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit be086fb

Please sign in to comment.