IlhamTahir hai 1 ano
pai
achega
e182536270
Modificáronse 1 ficheiros con 1 adicións e 3 borrados
  1. 1 3
      Dockerfile

+ 1 - 3
Dockerfile

@@ -2,9 +2,7 @@
 FROM node:20 AS builder
 FROM node:20 AS builder
 
 
 # Install pnpm globally
 # Install pnpm globally
-RUN corepack enable \
-  && npm config set registry https://registry.npmmirror.com \
-  && corepack prepare pnpm@latest --activate
+RUN npm install -g pnpm@latest
 # Set the working directory inside the container
 # Set the working directory inside the container
 WORKDIR /usr/src/app
 WORKDIR /usr/src/app