mirror of
https://github.com/Infisical/infisical.git
synced 2026-01-09 15:38:03 -05:00
Revert "update npm time out"
This reverts commit 38a7b1acf1a445ea62dcad5b60e9624733976b78.
This commit is contained in:
committed by
Akhil Mohan
parent
27fd857120
commit
aa4d9ad267
@@ -14,8 +14,6 @@ WORKDIR /app
|
||||
COPY frontend/package.json frontend/package-lock.json frontend/next.config.js ./
|
||||
|
||||
# Install dependencies
|
||||
RUN npm config set fetch-retry-mintimeout 20000
|
||||
RUN npm config set fetch-retry-maxtimeout 120000
|
||||
RUN npm ci --only-production --ignore-scripts
|
||||
|
||||
# Rebuild the source code only when needed
|
||||
@@ -71,14 +69,10 @@ RUN addgroup --system --gid 1001 nodejs \
|
||||
WORKDIR /app
|
||||
|
||||
COPY backend-pg/package*.json ./
|
||||
RUN npm config set fetch-retry-mintimeout 20000
|
||||
RUN npm config set fetch-retry-maxtimeout 120000
|
||||
RUN npm ci --only-production
|
||||
|
||||
COPY /backend-pg .
|
||||
COPY --chown=non-root-user:nodejs standalone-entrypoint.sh standalone-entrypoint.sh
|
||||
RUN npm config set fetch-retry-mintimeout 20000
|
||||
RUN npm config set fetch-retry-maxtimeout 120000
|
||||
RUN npm i -D tsconfig-paths
|
||||
RUN npm run build
|
||||
|
||||
@@ -88,8 +82,6 @@ FROM base AS backend-runner
|
||||
WORKDIR /app
|
||||
|
||||
COPY backend-pg/package*.json ./
|
||||
RUN npm config set fetch-retry-mintimeout 20000
|
||||
RUN npm config set fetch-retry-maxtimeout 120000
|
||||
RUN npm ci --only-production
|
||||
|
||||
COPY --from=backend-build /app .
|
||||
|
||||
Reference in New Issue
Block a user