From fb45bb918b3d94ff48fdb2b3afb3f257967babca Mon Sep 17 00:00:00 2001 From: riccardo Date: Sun, 18 Jan 2026 16:56:11 +0000 Subject: [PATCH] fix: use standard Next.js build --- Dockerfile | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 15fc0b6..81a8d48 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,11 +14,10 @@ WORKDIR /app ENV NODE_ENV=production -# Copy only production dependencies and built files -COPY --from=builder /app/.next/standalone ./ -COPY --from=builder /app/.next/static ./.next/static -COPY --from=builder /app/public ./public 2>/dev/null || true +COPY --from=builder /app/.next ./.next +COPY --from=builder /app/node_modules ./node_modules +COPY --from=builder /app/package.json ./package.json EXPOSE 3000 -CMD ["node", "server.js"] \ No newline at end of file +CMD ["npm", "start"] \ No newline at end of file