rm HELATHCHECK
nclazz/static-webserver-docker/pipeline/head This commit looks good
Details
nclazz/static-webserver-docker/pipeline/head This commit looks good
Details
parent
b7f55e861b
commit
e8948601fc
|
@ -43,9 +43,5 @@ COPY . .
|
|||
ENV MAX_AGE=60
|
||||
|
||||
|
||||
HEALTHCHECK --interval=30s --timeout=30s --retries=3 \
|
||||
CMD /curl http://localhost:80 || exit -503
|
||||
|
||||
|
||||
# Run thttpd
|
||||
CMD ["/thttpd", "-D", "-h", "0.0.0.0", "-p", "80", "-d", "/home/static", "-u", "static", "-l", "-", "-M", "${MAX_AGE}"]
|
Loading…
Reference in New Issue