diff --git a/Dockerfile b/Dockerfile index b0fd082..b7bdcf7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -56,7 +56,7 @@ USER nextjs EXPOSE 3000 ENV PORT 3000 ENV HOSTNAME "0.0.0.0" -HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "wget", "-q0", "http://localhost:3000/health" ] +HEALTHCHECK --interval=30s --timeout=30s --start-period=5s --retries=3 CMD [ "curl", "-f", "http://localhost:3000/health" ] # Run the nextjs app CMD ["node", "server.js"]