14 lines
309 B
Docker
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
|