blog-utils/Dockerfile
2023-09-04 01:33:09 +02:00

14 lines
291 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
RUN pelican blogue/content -s blogue/pelicanconf.py
FROM nginx:alpine
COPY --from=compil /app/output/ /usr/share/nginx/html
EXPOSE 80