BaptisteCDC
commited on
ci: updated Dockerfile to install latest version of corepack to ensure to have the right version to pnpm
Browse files- 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
|