10 lines
233 B
Docker
Executable file
10 lines
233 B
Docker
Executable file
FROM python:3.13-slim AS builder
|
|
WORKDIR /app
|
|
COPY . .
|
|
RUN pip install --no-cache-dir -r ./requirements.txt
|
|
RUN zensical build
|
|
RUN rm ./deploy/sitemap.xml
|
|
|
|
FROM caddy:alpine
|
|
COPY --from=builder /app/deploy /usr/share/caddy
|
|
EXPOSE 80
|