Closed zspine closed 3 years ago
Sorry this issue not relevant to mercure.... if anyone else having this problem with api platform try the following workaround:
# Skip the custom build
#FROM caddy:${CADDY_VERSION}-builder-alpine AS api_platform_caddy_builder
#
#RUN xcaddy build \
# --with github.com/dunglas/vulcain/caddy \
# --with github.com/dunglas/mercure/caddy
FROM caddy:${CADDY_VERSION} AS api_platform_caddy
WORKDIR /srv/api
COPY --from=dunglas/mercure:v0.12 /usr/bin/caddy /usr/bin/caddy
COPY --from=api_platform_php /srv/api/public public/
COPY docker/caddy/Caddyfile /etc/caddy/Caddyfile
Partial error log
Only happens with custom xcaddy build and docker hub version works fine!