Skip to content
This repository was archived by the owner on Feb 4, 2026. It is now read-only.

Commit 8f521fd

Browse files
committed
Add bundle install step to Dockerfile for dependency management
1 parent 118920e commit 8f521fd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ RUN apk add --update \
3636
# Copy application code
3737
COPY . $APP_ROOT
3838

39+
RUN bundle install --jobs 2
40+
3941
# Precompile assets for a production environment.
4042
# This is done to include assets in production images on Dockerhub.
4143
RUN SECRET_KEY_BASE_DUMMY=1 RAILS_ENV=production bundle exec rake assets:precompile

0 commit comments

Comments
 (0)