From 74a1063e9fc811cde1a22b1ecbdf24b819dc8b82 Mon Sep 17 00:00:00 2001 From: Jason Date: Wed, 16 Feb 2022 19:05:38 -0500 Subject: [PATCH] =?UTF-8?q?=F0=9F=97=83=EF=B8=8F=20modified:=20Dockerfile?= =?UTF-8?q?=20=F0=9F=97=83=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index fcaa066..3f9a7ed 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ ENV \ SQUID_HOME_DIR=/var/lib/squid \ SQUID_CACHE_DIR=/data/cache/squid \ SQUID_LOG_DIR=/data/log/squid \ - SQUID_USER=root + SQUID_USER=squid RUN apt-get update \ && DEBIAN_FRONTEND=noninteractive apt-get install -yy \ @@ -60,5 +60,5 @@ EXPOSE 3128 8080 WORKDIR /config VOLUME ["/config", "/data"] -HEALTHCHECK CMD ["/usr/local/bin/entrypoint-squid.sh","healthcheck"] +HEALTHCHECK --start-period=1m --interval=10m --timeout=3s CMD ["/usr/local/bin/entrypoint-squid.sh","healthcheck"] ENTRYPOINT ["/usr/local/bin/entrypoint-squid.sh"]