Remove run as root

This commit is contained in:
Fred 2021-12-20 17:47:52 +00:00
parent 8a314e2fa4
commit 4bd7bae34f

View File

@ -106,6 +106,7 @@ COPY run.sh /
COPY autoreload.sh /
COPY sup.sh /
RUN chmod +x /run.sh /autoreload.sh /sup.sh
USER squid
HEALTHCHECK CMD squidclient mgr:info | grep "HTTP/1.1 200 OK" || exit 1
EXPOSE 3128
ENTRYPOINT ["dumb-init"]