We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dc9d15a commit 5e0c5f7Copy full SHA for 5e0c5f7
docker/entrypoint.sh
@@ -12,6 +12,10 @@ until mysqladmin ping -h"${DB_H}" --silent 2>/dev/null; do
12
done
13
echo "MySQL is ready."
14
15
+# Permissions — toujours en root (avant le USER switch)
16
+chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache
17
+chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache
18
+
19
# APP_KEY — générer seulement si absent
20
grep -q '^APP_KEY=base64:' .env || php artisan key:generate --no-interaction
21
0 commit comments