This commit is contained in:
root 2017-11-03 08:42:34 +01:00
parent 3f7acaef00
commit 7e8775cc36

View File

@ -9,11 +9,14 @@ RUN sed -i'' 's/^Listen 80$/Listen 8080/' "/etc/apache2/ports.conf" && \
docker-php-ext-install gd && \
apt-get clean all && \
a2enmod headers && \
rm -rf "/var/www/html" && \
git clone "https://github.com/blueimp/jQuery-File-Upload.git" "html" && \
rm -rf "/usr/share/doc/*" \
"/var/cache/*" \
"/var/lib/apt/lists/*"
"/var/cache/*" \
"/var/lib/apt/lists/*" \
"/usr/src/*" \
"/var/cache/*" \
"/var/log/"{apt/*,dpkg.log} \
"/var/www/html" && \
git clone "https://github.com/blueimp/jQuery-File-Upload.git" "html"
RUN chown -R "www-data":"www-data" "/var/www/html"