diff --git a/Dockerfile b/Dockerfile index 4b68c7e..75c7f52 100644 --- a/Dockerfile +++ b/Dockerfile @@ -60,7 +60,7 @@ COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static COPY --from=builder --chown=nextjs:nodejs /app/public ./.next/static -RUN chown -R nextjs:nodejs /app/.next +RUN chown -R nextjs:nodejs / USER nextjs