Commit 95fcfbd3 authored by Vladimír Čunát's avatar Vladimír Čunát
Browse files

Merge !740: dockerfile: best practices

parents 99fadb7f 36449680
......@@ -62,13 +62,15 @@ RUN cd /tmp/knot-resolver && \
# Final container
FROM runtime
MAINTAINER Knot Resolver team <>
LABEL cz.knot-resolver.vendor="CZ.NIC"
LABEL maintainer=""
# Export DNS over UDP & TCP, DNS-over-TLS, web interface
EXPOSE 53/UDP 53/TCP 853/TCP 8053/TCP
CMD ["/usr/local/sbin/kresd", "-c", "/etc/knot-resolver/kresd.conf"]
# Fetch Knot Resolver + Knot DNS libraries from build image
COPY --from=build /tmp/root/ /
RUN ldconfig
ENTRYPOINT ["/usr/local/sbin/kresd"]
CMD ["-c", "/etc/knot-resolver/kresd.conf"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment