fix(docker): add validate_release_env.py to API image #147

Merged
xiaoxia merged 1 commits from fix/add-validate-script-to-api-image into develop 2026-07-01 15:16:59 +08:00

1 Commits

Author SHA1 Message Date
CI Test 4812249e4e fix(docker): add validate_release_env.py to API image
CI/CD Pipeline / Frontend Lint (pull_request) Failing after 189h37m38s
CI/CD Pipeline / Validate Code Quality And Tests (pull_request) Failing after 189h37m41s
deploy-production.sh runs validate_release_env.py inside the API
container before alembic upgrade. The script was missing from the
image because api.Dockerfile did not COPY scripts/. This caused
production deploy to fail with:
  python: can't open file '/app/scripts/validate_release_env.py': [Errno 2]
2026-07-01 15:16:43 +08:00