mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-07-30 09:17:44 -04:00
Merge pull request #4677 from Growstuff/fix-docker-build-missing-ruby-version-8858247702805966576
Fix Docker build by copying .ruby-version before bundle install
This commit is contained in:
@@ -25,7 +25,7 @@ ENV RAILS_ENV=production \
|
||||
WORKDIR /app
|
||||
|
||||
# Install gems
|
||||
COPY Gemfile Gemfile.lock ./
|
||||
COPY Gemfile Gemfile.lock .ruby-version ./
|
||||
RUN bundle config set --local deployment 'true' && \
|
||||
bundle config set --local without 'development test' && \
|
||||
bundle install --jobs 4 --retry 3
|
||||
|
||||
Reference in New Issue
Block a user