Spaces:
Paused
Paused
Update Dockerfile
Browse files123454678910111213141516171819202122232425FROM debian:stable-slim
WORKDIR app
COPY app ./appRUN chmod +x /app/app && /app/app -h
RUN chmod +x /app/app && /app/app -h && apt-get update && apt-get install -y curl ca-certificates && apt-get clean
COPY <<-"EOF" /app/resolv.confnameserver 1.1.1.1nameserver 1.0.0.1nameserver 2606:4700:4700::1111nameserver 2606:4700:4700::1002EOF
COPY --chmod=755 <<-"EOF" /entrypoint.sh#!/bin/bashcat /app/resolv.conf > /etc/resolv.confsleep 3exec "$@"EOF
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/app/app"]Dockerfile+21-1