mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-25 18:03:44 +00:00
21 lines
No EOL
483 B
Docker
21 lines
No EOL
483 B
Docker
FROM python:alpine3.17
|
|
|
|
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#linux but for Alpine
|
|
RUN apk add --no-cache \
|
|
cairo-dev \
|
|
freetype-dev \
|
|
libffi-dev \
|
|
jpeg-dev \
|
|
libpng-dev \
|
|
zlib-dev \
|
|
bash \
|
|
coreutils
|
|
RUN /usr/local/bin/pip3 install \
|
|
mkdocs-material \
|
|
mkdocs-redirects \
|
|
mkdocs-git-revision-date-localized-plugin \
|
|
pillow \
|
|
cairosvg
|
|
|
|
ENTRYPOINT [ "mkdocs" ]
|
|
CMD [ "serve" ] |