monolang: add

Added mkdocs-git build files for monolang version.
This commit is contained in:
Luc Bijl 2025-07-20 13:50:42 +02:00
parent f60190aa2a
commit 51da297da3
4 changed files with 49 additions and 0 deletions

View file

@ -0,0 +1,25 @@
FROM nginx:alpine
ENV PORT="80"
COPY default.conf.env /etc/nginx/conf.d/default.conf.env
RUN apk add envsubst \
&& touch /docker-entrypoint.d/port.sh \
&& echo "exec envsubst < /etc/nginx/conf.d/default.conf.env > /etc/nginx/conf.d/default.conf && nginx -s reload" > /docker-entrypoint.d/port.sh \
&& chmod 776 /docker-entrypoint.d/port.sh
RUN apk add git \
&& apk add mkdocs \
&& apk add mkdocs-material \
&& apk add py3-regex
RUN mkdir /mkdocs
WORKDIR /mkdocs
COPY root /etc/crontabs/root
COPY git-mkdocs /bin/git-mkdocs
RUN chmod 744 /bin/git-mkdocs
RUN touch /docker-entrypoint.d/cron.sh \
&& echo "exec crond" > /docker-entrypoint.d/cron.sh \
&& chmod 776 /docker-entrypoint.d/cron.sh