caddy-keydb-codebreaker/Dockerfile
2024-08-13 22:21:20 -07:00

16 lines
337 B
Docker

# Dockerfile
FROM caddy:builder AS builder
# Install xcaddy
RUN xcaddy build --with <your-plugin-repo-url>
FROM caddy:latest
# Copy the built Caddy binary
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
# Copy your Caddyfile
COPY Caddyfile /etc/caddy/Caddyfile
# Run Caddy
CMD ["caddy", "run", "--config", "/etc/caddy/Caddyfile"]