File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -20,6 +20,13 @@ cmd = '/assets/start.sh'
20
20
# Transform the nginx configuration
21
21
node /assets/scripts/prestart.mjs /assets/nginx.template.conf /etc/nginx.conf
22
22
23
+ # Fix permissions for Laravel storage
24
+ mkdir -p /app/storage/logs
25
+ mkdir -p /app/storage/framework/{cache,sessions,views}
26
+ chown -R www-data:www-data /app/storage
27
+ chmod -R 775 /app/storage
28
+
29
+
23
30
# Start supervisor
24
31
supervisord -c /etc/supervisord.conf -n
25
32
'''
Original file line number Diff line number Diff line change @@ -20,6 +20,13 @@ cmd = '/assets/start.sh'
20
20
# Transform the nginx configuration
21
21
node /assets/scripts/prestart.mjs /assets/nginx.template.conf /etc/nginx.conf
22
22
23
+ # Fix permissions for Laravel storage
24
+ mkdir -p /app/storage/logs
25
+ mkdir -p /app/storage/framework/{cache,sessions,views}
26
+ chown -R www-data:www-data /app/storage
27
+ chmod -R 775 /app/storage
28
+
29
+
23
30
# Start supervisor
24
31
supervisord -c /etc/supervisord.conf -n
25
32
'''
You can’t perform that action at this time.
0 commit comments