From c55f26ca7053e8c5d1504caeb5d1314795187768 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 11 Sep 2023 14:22:08 +0200 Subject: [PATCH] group copies together Signed-off-by: Jens Langhammer --- Dockerfile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index f8527659d..aefcf2878 100644 --- a/Dockerfile +++ b/Dockerfile @@ -110,8 +110,6 @@ LABEL org.opencontainers.image.revision ${GIT_BUILD_HASH} WORKDIR / -COPY --from=geoip /usr/share/GeoIP /geoip - # We cannot cache this layer otherwise we'll end up with a bigger image RUN apt-get update && \ # Required for runtime @@ -139,6 +137,7 @@ COPY --from=python-deps /work/venv /venv COPY --from=web-builder /work/web/dist/ /web/dist/ COPY --from=web-builder /work/web/authentik/ /web/authentik/ COPY --from=website-builder /work/website/help/ /website/help/ +COPY --from=geoip /usr/share/GeoIP /geoip USER 1000