v4.0.0.2
This commit is contained in:
@@ -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"]
|
||||
|
||||
Reference in New Issue
Block a user