From eb78446381c41d534e8b507a5f58d5a2329991d7 Mon Sep 17 00:00:00 2001 From: Olle Jonsson Date: Fri, 2 Aug 2024 17:12:51 +0200 Subject: [PATCH] Dockerfile: mention --virtual NAME MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Markus Nölle <6429294+martybegood@users.noreply.github.com> --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 869d4b4..56a3d54 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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