refactor: read templates from local files

This commit is contained in:
2025-08-17 05:32:26 -03:00
parent 2dd0edbd49
commit b5d2ddf23b
19 changed files with 289 additions and 144 deletions

View File

@@ -1,5 +1,5 @@
# Build stage with xcaddy
FROM caddy:builder AS builder
FROM caddy:2.10.0-builder AS builder
# Install xcaddy and build Caddy with plugins
RUN xcaddy build \
@@ -15,7 +15,7 @@ RUN apk add --no-cache git && \
mv /coreruleset/crs-setup.conf.example /coreruleset/crs-setup.conf
# Final stage
FROM caddy:latest
FROM caddy:2.10.0
# Copy custom Caddy binary
COPY --from=builder /usr/bin/caddy /usr/bin/caddy