mirror of https://github.com/cppla/ServerStatus
update Dockerfile
parent
fd6c3532d9
commit
d25e7871ba
|
@ -1,5 +1,5 @@
|
|||
# The Dockerfile for build localhost source, not git repo
|
||||
FROM debian AS builder
|
||||
FROM debian:bookworm AS builder
|
||||
|
||||
LABEL maintainer="cppla <https://cpp.la>"
|
||||
|
||||
|
@ -26,4 +26,4 @@ RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone
|
|||
|
||||
EXPOSE 80 35601
|
||||
HEALTHCHECK --interval=5s --timeout=3s --retries=3 CMD curl --fail http://localhost:80 || bash -c 'kill -s 15 -1 && (sleep 10; kill -s 9 -1)'
|
||||
CMD ["sh", "-c", "/etc/init.d/nginx start && /ServerStatus/server/sergate --config=/ServerStatus/server/config.json --web-dir=/usr/share/nginx/html"]
|
||||
CMD ["sh", "-c", "/etc/init.d/nginx start && /ServerStatus/server/sergate --config=/ServerStatus/server/config.json --web-dir=/usr/share/nginx/html"]
|
||||
|
|
Loading…
Reference in New Issue