diff --git a/Dockerfile b/Dockerfile index d03004de7..70041f41d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -34,6 +34,9 @@ COPY . . RUN pnpm install && \ pnpm build +# Give the node user ownership of the application files +RUN chown -R node:node . + # Switch to non-root user (node user already exists in node:20-alpine) USER node