fix docker issues on edr

This commit is contained in:
SennayT
2026-05-14 11:43:49 +03:00
parent ca7505ed09
commit 8b76884941
7 changed files with 1591 additions and 1134 deletions

View File

@@ -6,7 +6,9 @@ FROM base AS deps
COPY pnpm-lock.yaml pnpm-workspace.yaml package.json ./
COPY apps/edr-freight-api/package.json ./apps/edr-freight-api/
COPY packages ./packages
RUN pnpm install --frozen-lockfile --filter @edr/freight-api...
RUN --mount=type=cache,id=pnpm,target=/pnpm/store\
--mount=type=secret,id=npmrc,target=./.npmrc \
pnpm install --frozen-lockfile --filter @edr/freight-api...
FROM deps AS build
COPY apps/edr-freight-api ./apps/edr-freight-api