From 94090f69979572b0fd91ccd2d6e55df3d2124d9a Mon Sep 17 00:00:00 2001 From: Drew Kerrigan Date: Thu, 19 Sep 2024 10:54:19 -0400 Subject: [PATCH] fix(): add missing copy commands --- Dockerfile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6e3ef8b488..c279b65ddc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -43,7 +43,11 @@ ENV NEXT_TELEMETRY_DISABLED 1 RUN addgroup --system --gid 1001 nodejs &&\ adduser --system --uid 1001 nextjs -COPY --from=builder /app/public ./public +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 ./public + +# COPY --from=builder /app/public ./public USER nextjs