pelican-docker/Dockerfile

18 lines
423 B
Docker
Raw Permalink Normal View History

2022-02-16 21:07:37 +00:00
FROM python:3.10.2-slim-bullseye
2023-01-31 05:11:40 +00:00
2022-02-16 21:07:37 +00:00
ARG PELICAN_VERSION=4.7.2
ARG SOURCE_SANS_VERSION=3.046R
ARG MATPLOTLIB_VERSION=3.5.1
2021-04-18 17:38:22 +00:00
2023-01-31 05:11:40 +00:00
RUN pip install --no-cache pelican==${PELICAN_VERSION}
RUN pip install --no-cache Markdown==3.2.1
RUN pip install --no-cache matplotlib==${MATPLOTLIB_VERSION}
2020-02-12 21:41:07 +00:00
WORKDIR /site
2023-01-31 05:11:40 +00:00
RUN mkdir -p /site/content /site-generated
COPY pelicanconf.py /site/
2020-05-03 17:29:49 +00:00
ENTRYPOINT ["pelican", "-Dr", "-o", "/site-generated"]