main push builds the runtime image (linux/amd64), pushes it to ECR
plagiarism-api:<sha> and runs SSM Deploy-plagiarism, which swaps the
container and rolls back if it is not healthy. Python and pip versions
are pinned to the King production image so the joblib model keeps loading.
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
- config.Settings에 host/port/log_level/reload 필드 추가
- app/main.py에 main() + __main__ 진입점 추가 (python -m app.main)
- Dockerfile: python:3.13-slim 베이스로, CMD를 python -m app.main 으로 변경
- docker-compose: env_file 사용, ports를 ${PORT} 변수화
- 환경변수 PORT=N 으로 override 가능 (uvicorn 직접 실행도 그대로 지원)