Skip to content

Commit 3618c6d

Browse files
authored
Revert last commit (#307)
* Revert last commit. * Revert changes to Dockerfile. * Readd documentation comment.
1 parent aca8f12 commit 3618c6d

File tree

1 file changed

+5
-4
lines changed

1 file changed

+5
-4
lines changed

Dockerfile

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -53,11 +53,12 @@ RUN apt-get update -qq && \
5353
COPY Gemfile Gemfile.lock vendor ./
5454

5555
RUN bundle install && \
56-
rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \
57-
bundle exec bootsnap precompile -j 1 --gemfile
56+
rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \
57+
# -j 1 disable parallel compilation to avoid a QEMU bug: https://github.com/rails/bootsnap/issues/495
58+
bundle exec bootsnap precompile -j 1 --gemfile
5859

59-
# Copy application code
60-
COPY . .
60+
# Copy application code
61+
COPY . .
6162

6263
# Precompile bootsnap code for faster boot times.
6364
# -j 1 disable parallel compilation to avoid a QEMU bug: https://github.com/rails/bootsnap/issues/495

0 commit comments

Comments
 (0)