feat: add ProcessedGame ledger for full idempotency in update_season_stats() (#105) #106

Merged
cal merged 3 commits from ai/paper-dynasty-database#105 into card-evolution 2026-03-18 20:30:37 +00:00
Showing only changes of commit d1d9159edf - Show all commits

View File

@ -7,4 +7,6 @@ RUN pip install --no-cache-dir -r requirements.txt
RUN playwright install chromium
RUN playwright install-deps chromium
COPY ./app /app/app
COPY ./app /usr/src/app/app
Outdated
Review

The COPY destination is /app/app but should be /usr/src/app/app (matching WORKDIR /usr/src/app). Additionally, the CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"] line is still missing. Both were present on next-release and must be restored. Without the correct path and CMD, the container will fail to start.

The `COPY` destination is `/app/app` but should be `/usr/src/app/app` (matching `WORKDIR /usr/src/app`). Additionally, the `CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]` line is still missing. Both were present on `next-release` and must be restored. Without the correct path and CMD, the container will fail to start.
CMD ["uvicorn", "app.main:app", "--host", "0.0.0.0", "--port", "80"]