init
This commit is contained in:
commit
052c7e1cae
14
Dockerfile
Normal file
14
Dockerfile
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
ARG CADDY_VERSION=2.7.6
|
||||||
|
|
||||||
|
FROM caddy:${CADDY_VERSION}-builder AS builder
|
||||||
|
|
||||||
|
RUN xcaddy build \
|
||||||
|
--with github.com/lucaslorentz/caddy-docker-proxy/v2 \
|
||||||
|
--with github.com/caddy-dns/cloudflare \
|
||||||
|
--with github.com/caddy-dns/route53
|
||||||
|
|
||||||
|
FROM caddy:${CADDY_VERSION}-alpine
|
||||||
|
|
||||||
|
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
||||||
|
|
||||||
|
CMD ["caddy", "docker-proxy"]
|
Loading…
x
Reference in New Issue
Block a user