Skip to content

Commit d5f3efa

Browse files
committed
Refactor lines for artisan
Signed-off-by: solidnerd <[email protected]>
1 parent f934da2 commit d5f3efa

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docker-entrypoint.sh

+5-2
Original file line numberDiff line numberDiff line change
@@ -105,14 +105,17 @@ fi
105105

106106
composer install
107107

108+
php artisan key:generate
109+
110+
php artisan migrate --force
111+
108112

109113
echo "Setting folder permissions for uploads"
110114
chown -R www-data:www-data public/uploads && chmod -R 775 public/uploads
111115
chown -R www-data:www-data storage/uploads && chmod -R 775 storage/uploads
112116

113-
echo "Clear Cache..."
114-
115117
php artisan cache:clear
118+
116119
php artisan view:clear
117120

118121
exec apache2-foreground

0 commit comments

Comments
 (0)