Skip to content

Commit

Permalink
Dockerfile: fix BUNDLE_DEPLOYMENT setting
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 committed Nov 2, 2023
1 parent 75702b9 commit 1906f99
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Dockerfile
Expand Up @@ -5,7 +5,8 @@ RUN apk add --no-cache --virtual .build-deps git build-base

WORKDIR /app
COPY Gemfile* ./
RUN BUNDLE_DEPLOYMENT=1 bundle install && apk del --no-cache .build-deps
ENV BUNDLE_DEPLOYMENT=1
RUN bundle install && apk del --no-cache .build-deps

COPY src ./

Expand Down

0 comments on commit 1906f99

Please sign in to comment.