Small tweaks
This commit is contained in:
parent
d78380caf0
commit
e6784c2e5e
|
|
@ -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 \
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue