Skip to content

Commit

Permalink
Create Dockerfile.caddy
Browse files Browse the repository at this point in the history
  • Loading branch information
SimmerV authored Nov 22, 2024
1 parent 41e023c commit 48d1edb
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions Dockerfile.caddy
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Use the official Caddy builder
FROM caddy:builder AS builder

# Add the Cloudflare DNS plugin
RUN xcaddy build \
--with github.com/caddy-dns/cloudflare

# Use the official Caddy base image
FROM caddy:latest

# Copy the custom Caddy binary
COPY --from=builder /usr/bin/caddy /usr/bin/caddy

0 comments on commit 48d1edb

Please sign in to comment.