Skip to content

Commit 223c2fa

Browse files
committed
Work around corepack bug with NPM signatures
1 parent 73c0b65 commit 223c2fa

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

docker/app/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ WORKDIR /data
1010
# Copy in files needed for compilation, located in the repo root
1111
COPY package.json pnpm-lock.yaml ./
1212

13+
# Install latest corepack version to work around a bug with signatures
14+
RUN npm install -g corepack@latest
1315
RUN corepack enable
1416
RUN pnpm install
1517

docker/next-app/Dockerfile.next-app

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ COPY tsconfig.json pnpm-lock.yaml package.json postcss.config.cjs svelte.config.
77
COPY src /app/src
88
COPY static /app/static
99

10+
# Install latest corepack version to work around a bug with signatures
11+
RUN npm install -g corepack@latest
1012
RUN corepack enable
1113
RUN pnpm install
1214
RUN pnpm run build

docker/next-app/dev/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ COPY tsconfig.json pnpm-lock.yaml package.json postcss.config.cjs svelte.config.
66
COPY src /app/src
77
COPY static /app/static
88

9+
# Install latest corepack version to work around a bug with signatures
10+
RUN npm install -g corepack@latest
911
RUN corepack enable
1012
RUN pnpm install
1113

docker/ui-builder/Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ WORKDIR /data
55

66
COPY package.json pnpm-lock.yaml ./
77

8+
# Install latest corepack version to work around a bug with signatures
9+
RUN npm install -g corepack@latest
810
RUN corepack enable
911
RUN pnpm install
1012

0 commit comments

Comments
 (0)