Skip to content
Snippets Groups Projects
Commit b0de1634 authored by Igor Witz's avatar Igor Witz
Browse files

Nettoyage

parent 4532b3fb
No related branches found
No related tags found
1 merge request!22Ajout de la CI pour Etherpad et Dokuwiki
Pipeline #31205 failed
FROM nginx
LABEL maintainer="antoine@barbare.me"
COPY nginx.conf /etc/nginx/nginx.conf
COPY --chown=www-data nginx.conf /etc/nginx/nginx.conf
COPY --chown=www-data run.sh /
WORKDIR /var/www
RUN apt-get update -y && \
......@@ -22,17 +23,12 @@ RUN apt-get update -y && \
wget "https://download.dokuwiki.org/src/dokuwiki/dokuwiki-stable.tgz" && \
tar -xzf dokuwiki-stable.tgz -C html --strip-components 1 && \
rm -f dokuwiki-stable.tgz && \
chown -R www-data . /etc/nginx/nginx.conf && \
sed -i "s/\${MAXSIZE}/100M/g" /etc/nginx/nginx.conf && \
ln -sf /dev/stdout /var/log/nginx/access.log && \
ln -sf /dev/stderr /var/log/nginx/error.log && \
ln -sf /dev/stderr /var/log/php-fpm.log
chown -R www-data . && \
chmod +x /run.sh && \
sed -i "s/\${MAXSIZE}/100M/g" /etc/nginx/nginx.conf
EXPOSE 80
VOLUME ["/var/www/html"]
HEALTHCHECK CMD wget -q -O /dev/null http://127.0.0.1:${DOKUWIKI_PORT:=80}/
COPY run.sh /
COPY entrypoint.sh /
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/run.sh"]
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment