refactor: consolidate backend helper and worker scripts in Dockerfile

This commit is contained in:
null 2026-05-24 18:30:38 -05:00
parent e26f3aa068
commit f84918b14f
1 changed files with 4 additions and 2 deletions

View File

@ -47,8 +47,10 @@ COPY --chown=appuser:appgroup backend/app ./app
# In-repo these live at `backend/templates/`; runtime path is `/app/templates`. # In-repo these live at `backend/templates/`; runtime path is `/app/templates`.
COPY --chown=appuser:appgroup backend/templates ./templates COPY --chown=appuser:appgroup backend/templates ./templates
# Copy worker scripts. # Copy backend helper scripts and worker scripts into one runtime package.
# In-repo these live at `scripts/`; runtime path is `/app/scripts`. # Provider credential seeding imports `scripts.seed_provider_credentials`, while
# the worker entrypoint runs `scripts/rq-docker`.
COPY --chown=appuser:appgroup backend/scripts ./scripts
COPY --chown=appuser:appgroup scripts ./scripts COPY --chown=appuser:appgroup scripts ./scripts
USER appuser USER appuser