mirror of
https://mau.dev/andreijiroh-dev/website.git
synced 2024-11-10 03:39:38 +00:00
build(docker): more chaotic fizes on CI image
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@gmail.com>
This commit is contained in:
parent
1dd427afb9
commit
a9761cf4f2
2 changed files with 7 additions and 4 deletions
|
@ -1,5 +1,7 @@
|
|||
image:
|
||||
name: dock.mau.dev/ajhalili2006/tildeverse-web/build-ci:commit-6c3c12ebba8921d9f7afc66681073aec5500a809
|
||||
entrypoint:
|
||||
- /bin/bash
|
||||
|
||||
variables:
|
||||
DEBUG: "1"
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
FROM squidfunk/mkdocs-material
|
||||
FROM python:alpine3.17
|
||||
|
||||
# https://squidfunk.github.io/mkdocs-material/setup/setting-up-social-cards/#linux but for Alpine
|
||||
RUN apk add --no-cache \
|
||||
|
@ -10,11 +10,12 @@ RUN apk add --no-cache \
|
|||
zlib-dev \
|
||||
bash \
|
||||
coreutils
|
||||
RUN pip3 install \
|
||||
RUN /usr/local/bin/pip3 install \
|
||||
mkdocs-material \
|
||||
mkdocs-redirects \
|
||||
mkdocs-git-revision-date-localized-plugin \
|
||||
pillow \
|
||||
cairosvg
|
||||
|
||||
COPY entrypoint.sh /usr/local/bin/entrypoint.sh
|
||||
ENTRYPOINT [ "/usr/local/bin/entrypoint.sh" ]
|
||||
ENTRYPOINT [ "mkdocs" ]
|
||||
CMD [ "serve" ]
|
Loading…
Reference in a new issue