2 Achegas 0eaae1f429 ... 6bf7704fa1

Autor SHA1 Mensaxe Data
  Yi 6bf7704fa1 feat(components): cicd5 hai 5 meses
  Yi 0eaae1f429 feat(components): cicd5 hai 5 meses
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      Dockerfile

+ 3 - 3
Dockerfile

@@ -3,10 +3,10 @@ WORKDIR /app/kpt-system-web
 ENV NODE_OPTIONS="--max-old-space-size=4096"
 COPY . .
 RUN ls -l && pwd
-RUN npm install -g pnpm
+RUN npm install -g pnpm && npm install -g typescript@5.1.6
 RUN echo "declare module 'lodash-es';" > types.d.ts
-RUN npm install -g typescript@5.1.6
-RUN pnpm install
+RUN pnpm config set registry https://registry.npmmirror.com && pnpm store prune && pnpm cache clean --force
+RUN pnpm install --fetch-timeout 60000
 RUN pnpm build 
 
 FROM nginx:alpine as prod