fix: permissions
This commit is contained in:
1 parent
97a144baaa
commit
a207b01c12
3 files changed
+16
-11
No files matched your search
+8
-2
@@ -53,8 +53,14 @@
|
||||
# Permissions for Laravel writable directories
|
||||
RUN mkdir -p storage bootstrap/cache \
|
||||
&& chown -R nginx:nginx storage bootstrap/cache \
|
||||
&& chmod -R ug+rwX storage bootstrap/cache
|
||||
|
||||
&& chmod -R ug+rwX storage bootstrap/cache
|
||||
|
||||
# Create Nginx error log file with correct permissions
|
||||
RUN mkdir -p /var/log/nginx \
|
||||
&& touch /var/log/nginx/error.log \
|
||||
&& chown -R nginx:nginx /var/log/nginx \
|
||||
&& chown -R nginx:nginx /var/log/php82 \
|
||||
&& chmod -R 664 /var/log/nginx/error.log
|
||||
# Build frontend assets
|
||||
RUN npm ci && npm run build
|
||||
|
||||
|
||||
Reference in new issue
Block a user