mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-14 21:19:36 +00:00
Andrei Jiroh Halili
6c3c12ebba
This should be also suitable for local development via Docker too. Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
20 lines
No EOL
496 B
Docker
20 lines
No EOL
496 B
Docker
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" ] |