Files
BiliBiliToolPro/docker/entrypoint.sh
database-mysql e519cac94e
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
pull file
2026-02-11 23:32:56 +08:00

17 lines
418 B
Bash

#!/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 "$@"