🐋 ci: Dockerfile.multi rewrite, maintain package integrity pt. 2

This commit is contained in:
Danny Avila 2024-08-24 15:09:38 -04:00 committed by GitHub
parent 88d8706757
commit d52e81bde6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -4,6 +4,10 @@
# Base for all builds # Base for all builds
FROM node:20-alpine AS base FROM node:20-alpine AS base
WORKDIR /app WORKDIR /app
RUN apk --no-cache add curl
RUN npm config set fetch-retry-maxtimeout 600000 && \
npm config set fetch-retries 5 && \
npm config set fetch-retry-mintimeout 15000
COPY package*.json ./ COPY package*.json ./
COPY packages/data-provider/package*.json ./packages/data-provider/ COPY packages/data-provider/package*.json ./packages/data-provider/
COPY client/package*.json ./client/ COPY client/package*.json ./client/