update start settings.

This commit is contained in:
whale
2020-03-05 15:43:29 +08:00
parent e564f0d449
commit 4d5f4e7426
5 changed files with 17 additions and 415 deletions

5
.entry.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
if [ ! -d "/app/zhamao-framework/bin" ]; then
cp -r /app/zhamao-framework-bak/* /app/zhamao-framework/
fi
php /app/zhamao-framework/bin/start framework --disable-console-input