mirror of
https://github.com/elAgala/server-initializer.git
synced 2026-02-14 05:06:18 +00:00
refactor: read templates from local files
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user