Move install statement to allow linked builds to complete (#33782)
This commit is contained in:
+1
-1
@@ -14,8 +14,8 @@ WORKDIR /src
|
|||||||
# Install dependencies
|
# Install dependencies
|
||||||
COPY --parents package.json pnpm-lock.yaml pnpm-workspace.yaml patches scripts **/package.json /src/
|
COPY --parents package.json pnpm-lock.yaml pnpm-workspace.yaml patches scripts **/package.json /src/
|
||||||
RUN corepack enable
|
RUN corepack enable
|
||||||
RUN --mount=type=bind,source=.git,target=/src/.git /src/scripts/docker-link-repos.sh
|
|
||||||
RUN pnpm install --frozen-lockfile
|
RUN pnpm install --frozen-lockfile
|
||||||
|
RUN --mount=type=bind,source=.git,target=/src/.git /src/scripts/docker-link-repos.sh
|
||||||
|
|
||||||
# Build
|
# Build
|
||||||
COPY --link --exclude=.git --exclude=apps/web/docker . /src
|
COPY --link --exclude=.git --exclude=apps/web/docker . /src
|
||||||
|
|||||||
Reference in New Issue
Block a user