fix: build from root, start main:app

This commit is contained in:
Chris Christiansen 2026-05-27 22:49:15 +00:00
parent 4e5cf74417
commit 28823f5fbb
2 changed files with 2 additions and 2 deletions

View File

@ -15,4 +15,4 @@ ENV PORT=8080
EXPOSE 8080
# app.py exports `app = FastAPI(...)`
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "8080"]
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8080"]

View File

@ -21,7 +21,7 @@ steps:
- '${_REGION}-docker.pkg.dev/${PROJECT_ID}/${_ARTIFACT_REPO}/osvauco-agent:$COMMIT_SHA'
- '-t'
- '${_REGION}-docker.pkg.dev/${PROJECT_ID}/${_ARTIFACT_REPO}/osvauco-agent:latest'
- 'agents/core-logic'
- '.'
# Steg 3: Push image
- name: 'gcr.io/cloud-builders/docker'