From 870e0c45029b1aee7181df6fba497df20be71147 Mon Sep 17 00:00:00 2001 From: m Date: Sun, 29 Mar 2026 11:56:41 +0000 Subject: [PATCH] build: switch from nginx to Caddy --- Dockerfile | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 8afad8e..ad738a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,13 +5,13 @@ RUN apk add --no-cache bash yq coreutils findutils WORKDIR /src COPY . . -RUN chmod +x build.sh render.sh nginx/generate-nginx.sh && \ +RUN chmod +x build.sh render.sh && \ ./build.sh -FROM nginx:alpine +FROM caddy:alpine -COPY --from=builder /src/build/ /usr/share/nginx/html/ -COPY --from=builder /src/nginx/nginx.conf /etc/nginx/nginx.conf +COPY --from=builder /src/build/ /srv/ +COPY --from=builder /src/Caddyfile /etc/caddy/Caddyfile -RUN nginx -t +RUN caddy validate --config /etc/caddy/Caddyfile EXPOSE 80