diff --git a/Dockerfile b/Dockerfile index 889392e..4dbf0bc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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"