Commit 36449680 authored by Tomas Krizek's avatar Tomas Krizek Committed by Vladimír Čunát

dockerfile: use ENTRYPOINT for main command

parent 7ed151b0
Pipeline #43961 failed with stages
in 32 minutes and 32 seconds
......@@ -68,8 +68,9 @@ LABEL maintainer="knot-resolver-users@lists.nic.cz"
# 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