Dockerfile 522 B

1234567891011121314151617181920212223
  1. FROM mcr.microsoft.com/dotnet/runtime:6.0
  2. LABEL product="Technitium DNS Server"
  3. LABEL vendor="Technitium"
  4. LABEL email="support@technitium.com"
  5. LABEL project_url="https://technitium.com/dns/"
  6. LABEL github_url="https://github.com/TechnitiumSoftware/DnsServer"
  7. WORKDIR /etc/dns/
  8. COPY ./DnsServerApp/bin/Release/publish/ .
  9. EXPOSE 5380/tcp
  10. EXPOSE 53/udp
  11. EXPOSE 53/tcp
  12. EXPOSE 67/udp
  13. EXPOSE 853/tcp
  14. EXPOSE 443/tcp
  15. EXPOSE 80/tcp
  16. EXPOSE 8053/tcp
  17. VOLUME ["/etc/dns/config"]
  18. CMD ["/usr/bin/dotnet", "/etc/dns/DnsServerApp.dll"]