add port to health check

This commit is contained in:
Ruben Momoa
2024-08-30 14:03:23 +02:00
parent 54cf43aad8
commit da37cc3c4a

View File

@@ -36,7 +36,7 @@ RUN apk add --no-cache \
&& chmod +x /usr/local/bin/start-container
HEALTHCHECK --interval=5m --timeout=3s --start-period=5m --start-interval=10s \
CMD curl -f http://localhost/${HEALTHCHECK_PATH} || exit 1
CMD curl -f http://localhost:${WEBSERVER_PORT}/${HEALTHCHECK_PATH} || exit 1
EXPOSE ${WEBSERVER_PORT}