Add Dockerfile
This commit is contained in:
10
Dockerfile
Normal file
10
Dockerfile
Normal file
@@ -0,0 +1,10 @@
|
||||
FROM caddy:2 AS base
|
||||
|
||||
FROM caddy:2-builder AS caddybuild
|
||||
RUN xcaddy build \
|
||||
--with github.com/greenpau/caddy-security \
|
||||
--with github.com/lucaslorentz/caddy-docker-proxy/v2 \
|
||||
--with github.com/caddyserver/replace-response
|
||||
|
||||
FROM base AS final
|
||||
COPY --from=caddybuild /usr/bin/caddy /usr/bin/caddy
|
||||
Reference in New Issue
Block a user