From ac2a9b966df6a2a9790888d9e48170ae924d013c Mon Sep 17 00:00:00 2001 From: thedemoncat Date: Mon, 7 Feb 2022 11:31:08 +0300 Subject: [PATCH] =?UTF-8?q?=D0=BE=D0=BF=D0=B5=D1=87=D0=B0=D1=82=D0=BA?= =?UTF-8?q?=D0=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Dockerfile_s | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Dockerfile_s b/Dockerfile_s index 56b3f44..00a7e16 100644 --- a/Dockerfile_s +++ b/Dockerfile_s @@ -1,9 +1,10 @@ FROM alpine:latest COPY oneget / RUN set -x; \ - chmod +x /oneget + chmod +x /oneget; \ + apk add curl ENV ONEGET_HTTP_SERVER_PORT=8080 ENV ONEGET_ENABLE_HTTP_SERVER=true HEALTHCHECK --interval=1m --timeout=3s \ - CMD nc -vz -w 2 localhost $ONEGET_HTTP_SERVER_PORT || exit 1' + CMD nc -vz -w 2 localhost $ONEGET_HTTP_SERVER_PORT || exit 1 ENTRYPOINT ["/oneget"] \ No newline at end of file