pull file
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
Close Stale Issues / close_stale_issues (push) Has been cancelled
repo-sync / repo-sync (push) Has been cancelled
auto-deploy-tencent-scf / pre-check (push) Has been cancelled
auto-deploy-tencent-scf / deploy serverless (push) Has been cancelled
Some checks failed
CodeQL / Analyze (csharp) (push) Has been cancelled
Close Stale Issues / close_stale_issues (push) Has been cancelled
repo-sync / repo-sync (push) Has been cancelled
auto-deploy-tencent-scf / pre-check (push) Has been cancelled
auto-deploy-tencent-scf / deploy serverless (push) Has been cancelled
This commit is contained in:
17
docker/entrypoint.sh
Normal file
17
docker/entrypoint.sh
Normal file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
set -o pipefail
|
||||
|
||||
echo "Starting BiliTool container..."
|
||||
mkdir -p /app/config
|
||||
|
||||
echo "Running maintenance scripts..."
|
||||
|
||||
# 3.3.0 need migrate db file location to /app/config
|
||||
if [ -f "/app/BiliBiliTool.db" ]; then
|
||||
echo "[3.3.0] Migrate db file location to /app/config"
|
||||
mv /app/BiliBiliTool.db /app/config/BiliBiliTool.db
|
||||
fi
|
||||
|
||||
echo "Starting application..."
|
||||
exec dotnet Ray.BiliBiliTool.Web.dll "$@"
|
||||
Reference in New Issue
Block a user