diff --git a/Dockerfile b/Dockerfile index 583fa07..3ce7885 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,7 +7,7 @@ RUN xcaddy build \ --with github.com/lucaslorentz/caddy-docker-proxy/v2 \ --with github.com/caddy-dns/cloudflare -FROM caddy:${CADDY_VERSION}-alpine +FROM --platform=$BUILDPLATFORM caddy:${CADDY_VERSION}-alpine COPY --from=builder /usr/bin/caddy /usr/bin/caddy