Update Healtcheck

This commit is contained in:
fredbcode 2021-10-28 13:51:02 +02:00
parent efec0b218c
commit 4b399e7498

View File

@ -106,6 +106,6 @@ RUN adduser --no-create-home --uid 1161 --group --system squid \
COPY run.sh /
RUN chmod +x /run.sh
HEALTHCHECK CMD squidclient -p 3128 || exit 1
HEALTHCHECK CMD squidclient mgr:index | grep "HTTP/1.1 200 OK" || exit 1
EXPOSE 3128
ENTRYPOINT ["/run.sh"]