From 580b469d590081e762171a4cd791566a961be384 Mon Sep 17 00:00:00 2001 From: Tilman Vatteroth Date: Mon, 1 Aug 2022 12:25:47 +0200 Subject: [PATCH] chown files in dockerfile Signed-off-by: Tilman Vatteroth --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 08fb87256..c9650cd4b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,8 +21,8 @@ RUN chown node:node -R /app COPY --from=builder --chown=node:node /app/.next/standalone ./ COPY --from=builder --chown=node:node /app/.next/static ./.next/static -COPY --from=builder /app/public ./public -COPY --from=builder /app/package.json ./package.json +COPY --from=builder --chown=node:node /app/public ./public +COPY --from=builder --chown=node:node /app/package.json ./package.json USER node