website/docker/Dockerfile
Andrei Jiroh Halili a9761cf4f2 build(docker): more chaotic fizes on CI image
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
2023-03-31 16:43:12 +00:00

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" ]