From 25ec271a7f23036cfd0b1cbabe85ee007a82b016 Mon Sep 17 00:00:00 2001 From: Pablo Lara Date: Thu, 1 Aug 2024 15:52:06 +0200 Subject: [PATCH] chore: optimize the Dockerfile --- Dockerfile | 4 ---- 1 file changed, 4 deletions(-) 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 ./