🗃️ modified: Dockerfile 🗃️

This commit is contained in:
Jason 2022-02-16 19:05:38 -05:00
parent 801b16e67f
commit 74a1063e9f
No known key found for this signature in database
GPG Key ID: 4F765975C1F0EE5F

View File

@ -21,7 +21,7 @@ ENV \
SQUID_HOME_DIR=/var/lib/squid \ SQUID_HOME_DIR=/var/lib/squid \
SQUID_CACHE_DIR=/data/cache/squid \ SQUID_CACHE_DIR=/data/cache/squid \
SQUID_LOG_DIR=/data/log/squid \ SQUID_LOG_DIR=/data/log/squid \
SQUID_USER=root SQUID_USER=squid
RUN apt-get update \ RUN apt-get update \
&& DEBIAN_FRONTEND=noninteractive apt-get install -yy \ && DEBIAN_FRONTEND=noninteractive apt-get install -yy \
@ -60,5 +60,5 @@ EXPOSE 3128 8080
WORKDIR /config WORKDIR /config
VOLUME ["/config", "/data"] 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"] ENTRYPOINT ["/usr/local/bin/entrypoint-squid.sh"]