refactor docker deployment build contexts

This commit is contained in:
dirtydishes 2026-04-27 04:13:47 -04:00
parent 25e3097bb1
commit 3b0c796ec7
9 changed files with 365 additions and 22 deletions

View file

@ -6,7 +6,12 @@ ENV NODE_ENV=production
ENV VIRTUAL_ENV=/opt/ingest-options-venv
ENV PATH="${VIRTUAL_ENV}/bin:${PATH}"
COPY . .
COPY --from=workspace package.json ./package.json
COPY --from=workspace bun.lock ./bun.lock
COPY --from=workspace tsconfig.base.json ./tsconfig.base.json
COPY --from=services . ./services
COPY --from=packages . ./packages
COPY --from=apps . ./apps
RUN apt-get update \
&& apt-get install -y --no-install-recommends python3 python3-pip python3-venv \