Skip to content
This repository was archived by the owner on Jul 27, 2025. It is now read-only.

Commit 8e339dc

Browse files
authored
Dockerfile fixes
Signed-off-by: Zach Gollwitzer <[email protected]>
1 parent 366862f commit 8e339dc

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

Dockerfile

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ ENV RAILS_ENV="production" \
1717
BUNDLE_PATH="/usr/local/bundle" \
1818
BUNDLE_WITHOUT="development"
1919

20-
2120
# Throw-away build stage to reduce size of final image
2221
FROM base AS build
2322

@@ -36,12 +35,11 @@ RUN bundle exec bootsnap precompile --gemfile -j 0
3635
COPY . .
3736

3837
# Precompile bootsnap code for faster boot times
39-
RUN bundle exec bootsnap precompile app/ lib/
38+
RUN bundle exec bootsnap precompile -j 0 app/ lib/
4039

4140
# Precompiling assets for production without requiring secret RAILS_MASTER_KEY
4241
RUN SECRET_KEY_BASE_DUMMY=1 ./bin/rails assets:precompile
4342

44-
4543
# Final stage for app image
4644
FROM base
4745

0 commit comments

Comments
 (0)