mirror of
https://github.com/fawney19/Aether.git
synced 2026-01-09 03:02:26 +08:00
- 添加 entrypoint.sh 在容器启动前执行 alembic upgrade head - 更新 Dockerfile.app 和 Dockerfile.app.local 使用新入口脚本 - 移除手动迁移脚本 migrate.sh - 简化 README 部署说明
9 lines
121 B
Bash
9 lines
121 B
Bash
#!/bin/bash
|
|
set -e
|
|
|
|
echo "Running database migrations..."
|
|
alembic upgrade head
|
|
|
|
echo "Starting application..."
|
|
exec "$@"
|