Skip to content

Commit

Permalink
update Gemfile.lock with any added plugins, freeze bundle after
Browse files Browse the repository at this point in the history
  • Loading branch information
machisuji committed Dec 8, 2023
1 parent c2efc03 commit 13e95ee
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docker/prod/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,10 @@ COPY --chown=$APP_USER:$APP_USER --from=rubygems /usr/local/bundle /usr/local/bu
COPY --chown=$APP_USER:$APP_USER --from=assets /app/public/assets /app/public/assets
COPY --chown=$APP_USER:$APP_USER --from=assets /app/config/frontend_assets.manifest.json /app/config/frontend_assets.manifest.json
COPY --chown=$APP_USER:$APP_USER . .
# Update Gemfile.lock in case a plugin has been added. It it hasn't, the file stays identical.
COPY --chown=$APP_USER:$APP_USER --from=rubygems Gemfile.lock .

ENV BUNDLE_FROZEN=true

# We need this so puma is allowed to create the tmp/pids folder and
# temporary upload files when running with a uid other than 1000 (app)
Expand Down

0 comments on commit 13e95ee

Please sign in to comment.