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 . . COPY . .
RUN mkdocs build RUN mkdocs build
FROM nginx:alpine FROM caddy:alpine
RUN rm -rf /usr/share/nginx/html/* COPY --from=builder /app/site /usr/share/caddy
COPY --from=builder /app/site /usr/share/nginx/html EXPOSE 80
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]