From 2fa06f4cb4ec096a9237eae1bc7e55be30909f0f Mon Sep 17 00:00:00 2001 From: Derkades Date: Sat, 17 Oct 2020 22:35:24 +0200 Subject: [PATCH] Remove unnecessary files --- php_fpm/entrypoint.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/php_fpm/entrypoint.sh b/php_fpm/entrypoint.sh index 341f3f7..8c567bd 100644 --- a/php_fpm/entrypoint.sh +++ b/php_fpm/entrypoint.sh @@ -15,6 +15,15 @@ else chown -R www-data:www-data /data chmod 755 -R /data rm -rf /tmp/* + # remove some unnecessary files + cd /data + rm -f \ + web.config.example \ + nginx.example \ + README.md \ + CONTRIBUTORS.md \ + .gitignore \ + .htaccess set +x echo "Done!" fi