Spaces:
Paused
Paused
Update Dockerfile
Browse files12345FROM debian:stable-slimWORKDIR appCOPY app ./appRUN chmod +x /app/app && /app/app -hCMD ["/app/app"]12345678910111213141516171819202122232425FROM debian:stable-slimWORKDIR appCOPY app ./appRUN chmod +x /app/app && /app/app -h && apt-get update && apt-get install -y curl ca-certificates && apt-get cleanCOPY <<-"EOF" /app/resolv.confnameserver 1.1.1.1nameserver 1.0.0.1nameserver 2606:4700:4700::1111nameserver 2606:4700:4700::1002EOFCOPY --chmod=755 <<-"EOF" /entrypoint.sh#!/bin/bashcat /app/resolv.conf > /etc/resolv.confsleep 3exec "$@"EOFENTRYPOINT ["/entrypoint.sh"]CMD ["/app/app"]
Dockerfile+21-1