diff --git a/Dockerfile b/Dockerfile index 4d74582..77abda9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 " @@ -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"] \ No newline at end of file +CMD ["sh", "-c", "/etc/init.d/nginx start && /ServerStatus/server/sergate --config=/ServerStatus/server/config.json --web-dir=/usr/share/nginx/html"]