IlhamTahir 1 year ago
parent
commit
e182536270
1 changed files with 1 additions and 3 deletions
  1. 1 3
      Dockerfile

+ 1 - 3
Dockerfile

@@ -2,9 +2,7 @@
 FROM node:20 AS builder
 
 # 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
 WORKDIR /usr/src/app