blog-utils/Dockerfile
2024-05-20 23:18:58 +02:00

14 lines
309 B
Docker

FROM python:3.11-alpine3.17 AS compil
WORKDIR /app
COPY blogue blogue
COPY nuir nuir
RUN pip3 install "pelican[markdown]" pelican-series pelican-drafts plantuml-markdown
RUN pelican blogue/content -s blogue/pelicanconf.py
FROM nginx:alpine
COPY --from=compil /app/output/ /usr/share/nginx/html
EXPOSE 80