Update Dockerfile

This commit is contained in:
Nomi Nonsense (Nonszy) 2025-11-22 12:49:35 +08:00
parent 15eb1ea46b
commit 573b6202be

View File

@ -32,9 +32,9 @@ COPY --from=builder /app/.next/static ./.next/static
EXPOSE 3000 EXPOSE 3000
RUN ss -tuln #RUN ss -tuln
HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=5 \ #HEALTHCHECK --interval=30s --timeout=10s --start-period=5s --retries=5 \
CMD curl -f http://localhost:3000 || exit 1 # CMD curl -f http://localhost:3000 || exit 1
CMD ["node", "server.js"] CMD ["node", "server.js"]