refactor: consolidate backend helper and worker scripts in Dockerfile
This commit is contained in:
parent
e26f3aa068
commit
f84918b14f
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue