This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM caddy:2.10.2-builder AS builder
|
||||
RUN --mount=type=cache,target=/go/pkg/mod \
|
||||
--mount=type=cache,target=/root/.cache/go-build \
|
||||
xcaddy build \
|
||||
--with github.com/greenpau/caddy-security@v1.1.31 \
|
||||
--with github.com/hslatman/caddy-crowdsec-bouncer/crowdsec@v0.9.2 \
|
||||
--with github.com/caddy-dns/namecheap@master
|
||||
|
||||
FROM caddy:2.10.2
|
||||
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
||||
Reference in New Issue
Block a user