beta.fogtype.com/Dockerfile
drone 0c7b195ba1
All checks were successful
continuous-integration/drone/push Build is passing
Update caddy:2.6.4-builder-alpine Docker digest to c148176
2023-03-28 01:07:02 +00:00

5 lines
389 B
Docker

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