Skip to content

Commit

Permalink
dohd port 443
Browse files Browse the repository at this point in the history
  • Loading branch information
jaromil committed May 14, 2024
1 parent 03e7355 commit 245aa2a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion containers/dohd/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 245aa2a

Please sign in to comment.