Explorar el Código

fix: update Dockerfile

Before hace 7 meses
padre
commit
02e0d6b77d
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      Dockerfile

+ 2 - 3
Dockerfile

@@ -3,9 +3,8 @@ FROM node:23.3.0-alpine AS base
 FROM base AS deps
 WORKDIR /app
 COPY package.json ./
-RUN npm cache clean --force &&  \
-    npm install cnpm -g  && \
-    cnpm i
+RUN npm cache clean --force && npm install -g cnpm --registry=https://registry.npmmirror.com && cnpm install
+
 
 FROM base AS builder
 ARG BUILD_ARGS=""