From e6784c2e5e3064dfc6c129880d782b9f68b6b3ff Mon Sep 17 00:00:00 2001 From: TBK Date: Wed, 8 Apr 2020 09:03:52 +0200 Subject: [PATCH] Small tweaks --- app/Dockerfile | 2 +- app/docker-entrypoint.sh | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Dockerfile b/app/Dockerfile index a364a8d..ef36916 100644 --- a/app/Dockerfile +++ b/app/Dockerfile @@ -66,7 +66,7 @@ RUN set -ex \ && cd ${BOOKSTACK_HOME} \ && curl -LJO https://github.com/BookStackApp/BookStack/archive/v${BOOKSTACK_VERSION}.tar.gz \ && tar --strip-components=1 -xzf BookStack-${BOOKSTACK_VERSION}.tar.gz \ - && rm -rf ${BOOKSTACK}-${BOOKSTACK_VERSION}.tar.gz .env.example .gitattributes .github .gitignore .travis.yml tests/ public/index.php \ + && rm -rf ${BOOKSTACK}-${BOOKSTACK_VERSION}.tar.gz .env.example .env.example.complete .gitattributes .github .gitignore .travis.yml tests/ public/index.php \ && ln -s init.php bootstrap/autoload.php \ && patch -p1 < file_validation.patch \ && rm file_validation.patch \ diff --git a/app/docker-entrypoint.sh b/app/docker-entrypoint.sh index 36c0419..6225ede 100644 --- a/app/docker-entrypoint.sh +++ b/app/docker-entrypoint.sh @@ -6,8 +6,8 @@ if [ ! -f /app/.env ]; then fi php artisan migrate --no-interaction --force -echo "Setting folder permissions for uploads" -chown -R www-data:www-data public/uploads storage/uploads +echo "Setting folder permissions for uploads:" +chown -R www-data:www-data bootstrap/cache public/uploads storage/uploads php artisan cache:clear php artisan view:clear