BaptisteCDC commited on
Commit
c88938c
·
unverified ·
1 Parent(s): fbf1d46

ci: updated Dockerfile to install latest version of corepack to ensure to have the right version to pnpm

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -6,6 +6,8 @@ WORKDIR /app
6
  # Install dependencies (this step is cached as long as the dependencies don't change)
7
  COPY package.json pnpm-lock.yaml ./
8
 
 
 
9
  RUN corepack enable pnpm && pnpm install
10
 
11
  # Copy the rest of your app's source code
 
6
  # Install dependencies (this step is cached as long as the dependencies don't change)
7
  COPY package.json pnpm-lock.yaml ./
8
 
9
+ RUN npm install -g corepack@latest
10
+
11
  RUN corepack enable pnpm && pnpm install
12
 
13
  # Copy the rest of your app's source code