2023-09-04 01:33:09 +02:00
|
|
|
FROM python:3.11-alpine3.17 AS compil
|
|
|
|
|
|
|
|
WORKDIR /app
|
|
|
|
COPY blogue blogue
|
|
|
|
COPY nuir nuir
|
|
|
|
|
2024-05-20 23:18:58 +02:00
|
|
|
RUN pip3 install "pelican[markdown]" pelican-series pelican-drafts plantuml-markdown
|
2023-09-04 01:33:09 +02:00
|
|
|
RUN pelican blogue/content -s blogue/pelicanconf.py
|
|
|
|
|
|
|
|
FROM nginx:alpine
|
|
|
|
|
|
|
|
COPY --from=compil /app/output/ /usr/share/nginx/html
|
|
|
|
|
|
|
|
EXPOSE 80
|