We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 647b379 commit 578a369Copy full SHA for 578a369
Dockerfile
@@ -3,12 +3,12 @@ FROM node:20-bookworm AS dev
3
RUN apt-get update -y \
4
&& apt-get install -y --no-install-recommends \
5
git bash g++ make \
6
- && rm -rf /var/lib/apt/lists/*
+ && rm -rf /var/lib/apt/lists/* \
7
+ # NOTE: yarn > 1.22.19 breaks yarn-install invoked by pnpm
8
+ && npm install -g [email protected] [email protected] --force
9
-RUN corepack enable
10
+RUN npm install -g pnpm
11
12
WORKDIR /code
-RUN git config --global --add safe.directory /code
13
-COPY package.json pnpm-lock.yaml /code/
14
-RUN corepack prepare --activate
+RUN git config --global --add safe.directory /code
0 commit comments