IlhamTahir 1 рік тому
батько
коміт
e182536270
1 змінених файлів з 1 додано та 3 видалено
  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