Move install statement to allow linked builds to complete (#33782)

This commit is contained in:
Will Hunt
2026-06-08 17:26:14 +01:00
committed by GitHub
parent 067c1b43a5
commit fe69da9c33
+1 -1
View File
@@ -14,8 +14,8 @@ WORKDIR /src
# Install dependencies
COPY --parents package.json pnpm-lock.yaml pnpm-workspace.yaml patches scripts **/package.json /src/
RUN corepack enable
RUN --mount=type=bind,source=.git,target=/src/.git /src/scripts/docker-link-repos.sh
RUN pnpm install --frozen-lockfile
RUN --mount=type=bind,source=.git,target=/src/.git /src/scripts/docker-link-repos.sh
# Build
COPY --link --exclude=.git --exclude=apps/web/docker . /src