fix: use standard Next.js build
All checks were successful
Deploy / lint-build-deploy (push) Successful in 2m10s

This commit is contained in:
2026-01-18 16:56:11 +00:00
parent 480d4f7736
commit fb45bb918b

View File

@@ -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"]
CMD ["npm", "start"]