Commit ·
41d8ccf
1
Parent(s): 1035f0d
chore: drop Railway mentions from inline comments + docstrings
Browse filesPure comment cleanup, no behavior change:
- config/urls.py: /ping docstring now credits the host's healthcheck
generically (Fly.io's HTTP healthcheck is the dev-tier consumer)
- requirements.txt: python-json-logger comment drops the
RAILWAY_ENVIRONMENT trigger that was removed from settings.py
- services/card_ocr/.dockerignore: replace `railway up` deploy
rationale with the actual command (`git subtree push hf main`)
- scripts/pg_dump_to_r2.py: module docstring stops describing the
script as a Railway-scheduled task and describes its purpose
(provider-account loss insurance) generically
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
123456789# Defensive: even though we deploy with `railway up backend/services/card_ocr# --path-as-root`, this .dockerignore makes sure no build-time scratch# leaks into the image and -- combined with the Dockerfile only COPYing# explicit files (requirements.txt, main.py) -- guarantees the image# carries ONLY the OCR sidecar's code, never any other backend files# from the parent monorepo.__pycache__*.pyc*.pyo12345678910# Defensive: even though we deploy by `git subtree push --prefix=backend/# services/card_ocr hf main` (so HF receives only this subdirectory),# this .dockerignore makes sure no build-time scratch leaks into the# image and -- combined with the Dockerfile only COPYing explicit# files (requirements.txt, main.py) -- guarantees the image carries# ONLY the OCR sidecar's code, never any other backend files from the# parent monorepo.__pycache__*.pyc*.pyo
.dockerignore+7-6