Skip to content

Commit

Permalink
Try using --deployment flag
Browse files Browse the repository at this point in the history
  • Loading branch information
jbirdjavi committed Dec 20, 2024
1 parent 3718cfe commit 3fc415e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ RUN gem install bundler -v $(awk '/^BUNDLED WITH/ { getline; print $1; exit }' G

# Install build-dependencies, then install gems, subsequently removing build-dependencies
RUN apk --no-cache add --virtual build-deps build-base postgresql-dev mariadb-dev \
&& bundle install --jobs 20 --retry 2 \
&& bundle install --deployment --jobs 20 --retry 2 \
&& apk del build-deps

# Copy the application
Expand Down

0 comments on commit 3fc415e

Please sign in to comment.