From ae7cbbafc73fd642ae1af0ea9689975695fe4abe Mon Sep 17 00:00:00 2001 From: Jugurtha Bouhadoun Date: Thu, 6 Jun 2024 11:13:21 +0200 Subject: [PATCH] add permissions to /app dir --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index ece461ea6..8a4be114b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -25,6 +25,7 @@ COPY --from=builder /app/server ./server COPY --from=builder /app/node_modules ./node_modules COPY --from=builder /app/scripts/ ./scripts +RUN chown -R node:node /app USER node EXPOSE 3000