diff --git a/Dockerfile b/Dockerfile index 13b1919..5f75033 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ COPY webapp/.env ./.env ENV NODE_ENV=production EXPOSE 3000 -HEALTHCHECK --interval=30s --timeout=3s --start-period=5s \ - CMD wget --no-verbose --tries=1 --spider http://localhost:3000/health || exit 1 +HEALTHCHECK --interval=30s --timeout=3s --start-period=10s \ + CMD wget --no-verbose --tries=1 --spider http://127.0.0.1:3000/health || exit 1 CMD ["node", "src/server.js"]