Allow slow dependency downloads in application Docker builds
This commit is contained in:
@@ -8,7 +8,7 @@ RUN apt-get update \
|
||||
FROM base AS dependencies
|
||||
RUN corepack enable && corepack prepare pnpm@11.25.0 --activate
|
||||
COPY apps/wiki/package.json apps/wiki/pnpm-lock.yaml ./
|
||||
RUN pnpm install --frozen-lockfile
|
||||
RUN pnpm install --frozen-lockfile --fetch-timeout=300000 --network-concurrency=8
|
||||
|
||||
FROM dependencies AS build
|
||||
# .dockerignore excludes docs and operational notes without extra legacy COPY snapshots.
|
||||
|
||||
Reference in New Issue
Block a user