From dab4c4b6f693975d7ccc83ff5c03fe48c0970d79 Mon Sep 17 00:00:00 2001 From: "yongen.loong" Date: Sun, 25 Aug 2024 23:17:13 +0800 Subject: [PATCH] fix: permission issue --- Dockerfile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Dockerfile b/Dockerfile index 8e71f6b..7d44b24 100644 --- a/Dockerfile +++ b/Dockerfile @@ -15,6 +15,8 @@ COPY ./.next/static ./.next/static ENV HOSTNAME=0.0.0.0 +USER root +RUN chown -R node:node /app/.next USER node # server.js is created by next build from the standalone output