This commit is contained in:
2026-05-26 08:30:08 +12:00
parent 005aab8139
commit 135a5a3b83
75 changed files with 22417 additions and 4288 deletions
+7
View File
@@ -26,4 +26,11 @@ RUN pip install --no-cache-dir -r requirements.txt
COPY main.py db.py ./
COPY mail_api ./mail_api
# Legacy clients seed, generated by scripts/build-legacy-seed.mjs (called from
# deploy.ps1). Lives OUTSIDE the data volume so every deploy carries a fresh
# copy. The mail-api merges this on boot, add-only — it never overwrites a
# live entry. Must always be present in the build context; for local dev run
# `node scripts/build-legacy-seed.mjs` once, or `echo {} > legacy-clients-seed.json`.
COPY legacy-clients-seed.json /app/legacy-clients-seed.json
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]