From 94c0f6c07e5ef612a86dc3b86caf6f5773e1a817 Mon Sep 17 00:00:00 2001 From: Tahsin Date: Mon, 20 May 2024 19:08:21 -0400 Subject: [PATCH] copy all in prod stage --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index e88bf08..7387655 100644 --- a/Dockerfile +++ b/Dockerfile @@ -42,10 +42,12 @@ ENV NODE_ENV=production # COPY --from=builder --chown=nextjs:nodejs /app/.next ./.next -COPY --from=builder /app/.next ./.next -COPY --from=builder /app/node_modules ./node_modules -COPY --from=builder /app/package.json ./package.json -COPY --from=builder /app/public ./public +# COPY --from=builder /app/.next ./.next +# COPY --from=builder /app/node_modules ./node_modules +# COPY --from=builder /app/package.json ./package.json +# COPY --from=builder /app/public ./public +COPY . . + CMD ["sh", "scripts/start-prod"]