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