fix: don't use bundle --without flag as it is deprecated

Signed-off-by: Louis Vallat <louis@louis-vallat.xyz>
This commit is contained in:
Louis Vallat 2023-04-06 21:16:13 +02:00
parent 92410b6fea
commit 8ffdf1ae89
No known key found for this signature in database
GPG Key ID: 0C87282F76E61283

View File

@ -16,7 +16,8 @@ RUN apt-get update && \
WORKDIR /count_anything WORKDIR /count_anything
COPY Gemfile Gemfile.lock package.json yarn.lock ./ COPY Gemfile Gemfile.lock package.json yarn.lock ./
RUN bundle install --without development test && \ RUN bundle config set --local without 'development test' && \
bundle install && \
yarn install && \ yarn install && \
rails assets:precompile rails assets:precompile