The personal finance app for everyone
Split Dockerfile build commands for more clarity in CI
Zach Gollwitzer73f826fdf287
diff --git a/Dockerfile b/Dockerfileindex 2cad94b0..be0a38d4 100644--- a/Dockerfile+++ b/Dockerfile@@ -26,9 +26,11 @@ RUN apt-get install --no-install-recommends -y build-essential git libpq-dev pkg# Install application gemsCOPY .ruby-version Gemfile Gemfile.lock ./-RUN bundle install && \- rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git && \- bundle exec bootsnap precompile --gemfile+RUN bundle install++RUN rm -rf ~/.bundle/ "${BUNDLE_PATH}"/ruby/*/cache "${BUNDLE_PATH}"/ruby/*/bundler/gems/*/.git++RUN bundle exec bootsnap precompile --gemfile# Copy application codeCOPY . .