2023-03-31 16:43:12 +00:00
|
|
|
FROM python:alpine3.17
|
2023-03-24 17:26:49 +00:00
|
|
|
|
|
|
|
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#linux but for Alpine
|
2023-03-31 16:14:39 +00:00
|
|
|
RUN apk add --no-cache \
|
2023-03-24 17:26:49 +00:00
|
|
|
cairo-dev \
|
|
|
|
freetype-dev \
|
|
|
|
libffi-dev \
|
|
|
|
jpeg-dev \
|
|
|
|
libpng-dev \
|
2023-03-31 16:14:39 +00:00
|
|
|
zlib-dev \
|
|
|
|
bash \
|
|
|
|
coreutils
|
2023-03-31 16:43:12 +00:00
|
|
|
RUN /usr/local/bin/pip3 install \
|
|
|
|
mkdocs-material \
|
|
|
|
mkdocs-redirects \
|
2023-03-24 17:26:49 +00:00
|
|
|
mkdocs-git-revision-date-localized-plugin \
|
|
|
|
pillow \
|
2023-03-31 16:14:39 +00:00
|
|
|
cairosvg
|
|
|
|
|
2023-03-31 16:43:12 +00:00
|
|
|
ENTRYPOINT [ "mkdocs" ]
|
2023-03-31 16:14:39 +00:00
|
|
|
CMD [ "serve" ]
|