fix(docker): add validate_release_env.py to API image #147
Reference in New Issue
Block a user
Delete Branch "fix/add-validate-script-to-api-image"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
问题
Deploy Production 在
deploy-production.sh中执行python /app/scripts/validate_release_env.py时失败:原因
infra/docker/api.Dockerfile没有把scripts/validate_release_env.py复制到镜像中。修复
在
api.Dockerfile中添加:影响
修复后 Deploy Production 可以正常运行环境验证和数据库迁移。