diff --git a/Dockerfile b/Dockerfile index 8b85089..03795c4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,7 +53,7 @@ EXPOSE 80 # Health check HEALTHCHECK --interval=120s --timeout=10s --start-period=60s --retries=3 \ - CMD if [ -n "$APP_SUBFOLDER" ]; then curl -f http://localhost/$APP_SUBFOLDER/ || exit 1; else curl -f http://localhost/ || exit 1; fi + CMD curl -f http://localhost/health || exit 1 # Start nginx CMD ["nginx", "-g", "daemon off;"]