beta.fogtype.com/Dockerfile
Nebel 9d253c664e
All checks were successful
continuous-integration/drone/push Build is passing
Update caddy Docker tag to v2.7.2
2023-08-03 22:01:53 +00:00

5 lines
389 B
Docker

FROM caddy:2.7.2-builder-alpine@sha256:3d228a176e2ce488e82abd02643968ea55ce459f1f21253b0c6343e4e76764a4 AS builder
RUN xcaddy build --with github.com/lucaslorentz/caddy-docker-proxy/v2
FROM caddy:2.7.2-alpine@sha256:ab22fa1d8306607880d7cf6ef9dddef3cecd09d7c4cb28a2ec623fad52c63a9a
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
CMD ["caddy", "docker-proxy", "--ingress-networks=caddy"]