Using caddy for the alpine image.

This commit is contained in:
g* 2025-10-20 10:19:46 +02:00
commit 87f8ba95b5

View file

@ -5,8 +5,6 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY . .
RUN mkdocs build
FROM nginx:alpine
RUN rm -rf /usr/share/nginx/html/*
COPY --from=builder /app/site /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]
FROM caddy:alpine
COPY --from=builder /app/site /usr/share/caddy
EXPOSE 80