Skip to content

Commit

Permalink
Dockerfile: mention --virtual NAME
Browse files Browse the repository at this point in the history
Co-authored-by: Markus Nölle <6429294+martybegood@users.noreply.github.com>
  • Loading branch information
olleolleolle and MartyBeGood committed Aug 2, 2024
1 parent c4c3b2f commit eb78446
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,11 @@ WORKDIR /app
COPY --from=build /app /app
COPY --from=build /usr/local/bundle /usr/local/bundle
COPY --from=build /app/vendor/bundle /app/vendor/bundle
RUN apk --no-cache add --virtual postgresql-dev postgresql-client tzdata bash
RUN apk --no-cache add --virtual runtime-dependencies \
postgresql-dev \
postgresql-client \
tzdata \
bash
ENV RAILS_ENV=production

ARG REVISION
Expand Down

0 comments on commit eb78446

Please sign in to comment.