Fix Gemfile.lock mismatch - regenerate lock before install

This commit is contained in:
Min Zeya Phyo
2026-02-19 15:40:41 +08:00
parent 2a5f63331b
commit 48d37dd550

View File

@@ -10,7 +10,8 @@ RUN gem install bundler:1.17.2
WORKDIR /app
COPY Gemfile Gemfile.lock ./
RUN bundle install --without development test --deployment --jobs 4
RUN bundle lock --update && \
bundle install --without development test --jobs 4
COPY . .