Fix Dockerfile: Create supervisor log directory

- Add mkdir -p /var/log/supervisor before starting supervisor
- Fixes container restart loop
This commit is contained in:
TheMaddax 2025-12-17 19:55:52 -07:00
parent 790fe8a48a
commit 1b8679965e

View file

@ -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