Browse Source

plus de ménage

master
root 3 years ago
parent
commit
50376455bd
1 changed files with 4 additions and 0 deletions
  1. 4
      Dockerfile

4
Dockerfile

@ -14,6 +14,10 @@ RUN sed -i'' 's/^Listen 80$/Listen 8080/' "/etc/apache2/ports.conf" && \
rm -rf "/usr/share/doc/*" \
"/var/cache/*" \
"/var/lib/apt/lists/*" \
#TODO: à mettre partout ailleurs
"/usr/src/*" \
"/var/cache/*" \
"/var/log/"{apt/*,dpkg.log} \
"/var/www/html" && \
groupadd -g "1007" "nginx" && \
usermod -a -G "nginx" "www-data" && \

Loading…
Cancel
Save