Skip to content

Commit deb2486

Browse files
authored
chore(web): update docker to use yarn v4 (#99)
1 parent 716eb66 commit deb2486

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

web/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,13 @@ ARG GITHUB_SHA
66
ENV NODE_OPTIONS=$NODE_OPTIONS
77
ENV GITHUB_SHA=$GITHUB_SHA
88

9+
# Enable Corepack to use the correct Yarn version from package.json
10+
RUN corepack enable
11+
912
RUN --mount=type=bind,source=package.json,target=package.json \
1013
--mount=type=bind,source=yarn.lock,target=yarn.lock \
1114
--mount=type=cache,target=/root/.yarn,sharing=locked \
12-
yarn install --frozen-lockfile
15+
yarn install --immutable
1316

1417
RUN --mount=type=bind,source=package.json,target=package.json \
1518
--mount=type=bind,source=yarn.lock,target=yarn.lock \

0 commit comments

Comments
 (0)