diff --git a/Dockerfile b/Dockerfile index 91699ee..08eec0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -13,7 +13,7 @@ RUN groupadd -g ${GROUP_ID} app_archives && \ apt-get update -qq && \ apt-get install -y build-essential nodejs yarn RUN yarn && \ - yarn config set no-progress && \ + yarn config set no-progress && \ yarn config set silent ### @@ -30,7 +30,7 @@ VOLUME /container-data RUN bundle config --global frozen 1 COPY --chown=app_archives:app_archives Gemfile Gemfile.lock ./ -RUN gem update bundler && \ +RUN gem install bundler -v "~> 2.4.22" && \ bundle install -j 2 --retry=3 --deployment --without development COPY --chown=app_archives:app_archives . . @@ -57,4 +57,4 @@ RUN mkdir /app/tmp/pids EXPOSE 3000 ARG SOURCE_COMMIT ENV SOURCE_COMMIT $SOURCE_COMMIT -CMD puma -b tcp://0.0.0.0:3000 \ No newline at end of file +CMD puma -b tcp://0.0.0.0:3000