monolang: add
Added mkdocs-git build files for monolang version.
This commit is contained in:
parent
f60190aa2a
commit
51da297da3
4 changed files with 49 additions and 0 deletions
25
monolang/git-mkdocs.containerfile
Normal file
25
monolang/git-mkdocs.containerfile
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue