From 8a446bb4f5282be5eab990f900469dabb4f50658 Mon Sep 17 00:00:00 2001 From: Priyansh4444 Date: Mon, 24 Nov 2025 23:41:07 -0800 Subject: [PATCH] feat: copy public directory to production image if it exists --- Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/Dockerfile b/Dockerfile index 24fb956..e607756 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,7 @@ WORKDIR /app ENV NODE_ENV=production COPY --from=builder /app/.next/standalone ./ COPY --from=builder /app/.next/static ./.next/static +COPY --from=builder /app/public ./public EXPOSE 3000 CMD ["node", "server.js"]