Updated repository to the new configuration.
This commit is contained in:
parent
25dde6a119
commit
1945f193ea
31 changed files with 766 additions and 866 deletions
25
containerfiles/git-mkdocs-wiki/git-mkdocs-wiki.containerfile
Normal file
25
containerfiles/git-mkdocs-wiki/git-mkdocs-wiki.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-wiki /bin/git-mkdocs-wiki
|
||||
RUN chmod 744 /bin/git-mkdocs-wiki
|
||||
|
||||
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