From fdcf538a001eacb04d92950bd412dea434bddc9f Mon Sep 17 00:00:00 2001 From: Liam <67254223+RealFascinated@users.noreply.github.com> Date: Wed, 26 Oct 2022 14:32:25 +0100 Subject: [PATCH] gonna go kms just work holy heck --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index a62e231..90ef186 100644 --- a/Dockerfile +++ b/Dockerfile @@ -54,9 +54,9 @@ COPY --from=builder /app/public ./public # 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 ./ -COPY --from=builder --chown=nextjs:nodejs /app/.next/static ./.next/static COPY --from=builder --chown=nextjs:nodejs /app/entrypoint.sh ./entrypoint.sh +COPY --from=builder --chown=nextjs:nodejs /app/.next/standalone ./ +COPY --from=builder --chown=nextjs:nodejs /app/static ./.next/static RUN chown -R nextjs:nodejs /app/.next