Created
November 18, 2021 22:42
-
-
Save kleinmann/b04bf8ae504d362c08a1cfab83a354e3 to your computer and use it in GitHub Desktop.
caddy-docker-proxy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ARG CADDY_VERSION=2 | |
FROM caddy:${CADDY_VERSION}-builder-alpine AS builder | |
RUN xcaddy build \ | |
--with github.com/lucaslorentz/caddy-docker-proxy/plugin \ | |
--with github.com/greenpau/caddy-auth-portal \ | |
--with github.com/greenpau/caddy-authorize | |
FROM caddy:${CADDY_VERSION}-alpine | |
COPY --from=builder /usr/bin/caddy /usr/bin/caddy | |
CMD ["caddy", "docker-proxy"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment