blog-utils/Dockerfile

15 lines
291 B
Text
Raw Normal View History

2023-09-04 01:33:09 +02:00
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