Deployment: Upgrade Dockerfile with multi-stage asset building, add Redis service and queue workers

This commit is contained in:
2026-05-21 04:00:30 +00:00
parent fc9158b928
commit ffbfde943c
4 changed files with 45 additions and 2 deletions

View File

@@ -3,8 +3,9 @@ set -e
if [ ! -f /var/www/html/database/database.sqlite ]; then
touch /var/www/html/database/database.sqlite
chown www-data:www-data /var/www/html/database/database.sqlite
fi
chown -R www-data:www-data /var/www/html/database
chmod -R 775 /var/www/html/database
if [ -z "$APP_KEY" ]; then
php artisan key:generate --force --no-interaction