FROM squidfunk/mkdocs-material # 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 pip3 install \ mkdocs-git-revision-date-localized-plugin \ pillow \ cairosvg COPY entrypoint.sh /usr/local/bin/entrypoint.sh ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ] CMD [ "serve" ]