Fix Dockerfile: Create supervisor log directory
- Add mkdir -p /var/log/supervisor before starting supervisor - Fixes container restart loop
This commit is contained in:
parent
790fe8a48a
commit
1b8679965e
1 changed files with 3 additions and 0 deletions
|
|
@ -45,6 +45,9 @@ RUN npm run build
|
|||
# Generate optimized autoload files
|
||||
RUN composer dump-autoload --optimize
|
||||
|
||||
# Create log directory for supervisor
|
||||
RUN mkdir -p /var/log/supervisor
|
||||
|
||||
# Set permissions
|
||||
RUN chown -R www-data:www-data /var/www/html/storage /var/www/html/bootstrap/cache
|
||||
RUN chmod -R 775 /var/www/html/storage /var/www/html/bootstrap/cache
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue