Small tweaks

This commit is contained in:
TBK 2020-04-08 09:03:52 +02:00
parent d78380caf0
commit e6784c2e5e
No known key found for this signature in database
GPG Key ID: 6D4FD19CB66C95EA
2 changed files with 3 additions and 3 deletions

View File

@ -66,7 +66,7 @@ RUN set -ex \
&& cd ${BOOKSTACK_HOME} \ && cd ${BOOKSTACK_HOME} \
&& curl -LJO https://github.com/BookStackApp/BookStack/archive/v${BOOKSTACK_VERSION}.tar.gz \ && curl -LJO https://github.com/BookStackApp/BookStack/archive/v${BOOKSTACK_VERSION}.tar.gz \
&& tar --strip-components=1 -xzf BookStack-${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 \ && ln -s init.php bootstrap/autoload.php \
&& patch -p1 < file_validation.patch \ && patch -p1 < file_validation.patch \
&& rm file_validation.patch \ && rm file_validation.patch \

View File

@ -6,8 +6,8 @@ if [ ! -f /app/.env ]; then
fi fi
php artisan migrate --no-interaction --force php artisan migrate --no-interaction --force
echo "Setting folder permissions for uploads" echo "Setting folder permissions for uploads:"
chown -R www-data:www-data public/uploads storage/uploads chown -R www-data:www-data bootstrap/cache public/uploads storage/uploads
php artisan cache:clear php artisan cache:clear
php artisan view:clear php artisan view:clear