IlhamTahir 1 vuosi sitten
vanhempi
commit
e182536270
1 muutettua tiedostoa jossa 1 lisäystä ja 3 poistoa
  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