Update Healtcheck
This commit is contained in:
parent
efec0b218c
commit
4b399e7498
@ -106,6 +106,6 @@ RUN adduser --no-create-home --uid 1161 --group --system squid \
|
|||||||
|
|
||||||
COPY run.sh /
|
COPY run.sh /
|
||||||
RUN chmod +x /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
|
EXPOSE 3128
|
||||||
ENTRYPOINT ["/run.sh"]
|
ENTRYPOINT ["/run.sh"]
|
||||||
|
Loading…
Reference in New Issue
Block a user