From 245aa2a1ac3465c0f07ebfe44b94cf651f0d861f Mon Sep 17 00:00:00 2001 From: Jaromil Date: Tue, 14 May 2024 14:24:22 +0200 Subject: [PATCH] dohd port 443 --- containers/dohd/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/containers/dohd/Dockerfile b/containers/dohd/Dockerfile index bce1092..df0867e 100644 --- a/containers/dohd/Dockerfile +++ b/containers/dohd/Dockerfile @@ -23,10 +23,11 @@ RUN apk update && apk add openssl \ -in /etc/test.csr -signkey /etc/test.key -out /etc/test.crt # make the final image FROM wolfssl/wolfssl:alpine-lib +ENV DOHD_PORT=443 COPY --from=builder /usr/bin/dohd /usr/bin/dohd COPY --from=builder /usr/local/lib/libwolfssl.so* /usr/lib/ COPY --from=builder /usr/lib/libnghttp2.so* /usr/lib COPY --from=builder /etc/test.* /etc/ RUN adduser -D -H -s /bin/false dohd RUN chown dohd:dohd /etc/test.* -CMD dohd -c /etc/test.crt -k /etc/test.key -p 8053 -u dohd -F +CMD echo "Listening on port $DOHD_PORT" && dohd -c /etc/test.crt -k /etc/test.key -p $DOHD_PORT -u dohd -v -F