[修改]修改了panel的dockerfile,变更为容器内运行

This commit is contained in:
makotocc0107
2024-09-23 17:11:31 +08:00
committed by Coding
parent d233af6f50
commit de4203668d
4 changed files with 62 additions and 11 deletions

View File

@@ -0,0 +1,14 @@
#!/bin/bash
mkdir -p storage/app/{public,tenants}
mkdir -p storage/logs
if [ ! -f /app/storage/app/database.sqlite ]; then
cat .env
touch /app/storage/app/database.sqlite
php artisan migrate --seed --force
fi
php artisan migrate
$@