mirror of
https://github.com/casjaysdevdocker/squidguard
synced 2025-01-18 12:34:24 -05:00
🗃️ modified: Dockerfile 🗃️
This commit is contained in:
parent
801b16e67f
commit
74a1063e9f
@ -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"]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user