diff --git a/Dockerfile b/Dockerfile index e007a41d07..d35c218542 100644 --- a/Dockerfile +++ b/Dockerfile @@ -45,10 +45,6 @@ adduser --system --uid 1001 nextjs COPY --from=builder /app/public ./public -# Set the correct permission for prerender cache -RUN mkdir .next &&\ -chown nextjs:nodejs .next - # Automatically leverage output traces to reduce image size # https://nextjs.org/docs/advanced-features/output-file-tracing COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./