Move reverse-proxy to jenkins and config upgrade
This commit is contained in:
13
Dockerfile
Executable file
13
Dockerfile
Executable file
@@ -0,0 +1,13 @@
|
||||
ARG CADDY_VERSION=2.10.2
|
||||
|
||||
# --- BUILD ---
|
||||
# Add cache plugin
|
||||
FROM caddy:${CADDY_VERSION}-builder AS builder
|
||||
|
||||
RUN xcaddy build \
|
||||
--with github.com/caddyserver/cache-handler
|
||||
|
||||
# --- DEPLOY ---
|
||||
FROM caddy:${CADDY_VERSION}
|
||||
|
||||
COPY --from=builder /usr/bin/caddy /usr/bin/caddy
|
||||
Reference in New Issue
Block a user