From 8b3f80fe24c58a14d301cb0d0fa879ce7c0760fc Mon Sep 17 00:00:00 2001 From: Danny Avila Date: Mon, 1 Apr 2024 18:46:12 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=B3=20hotfix:=20Necessary=20Dockerfile?= =?UTF-8?q?=20Update=20(#2271)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: remove version comment from pre-commit shell script * chore: Dockerfile update --- .husky/pre-commit | 1 - Dockerfile | 6 ++++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/.husky/pre-commit b/.husky/pre-commit index 3d79821bb50..67f5b002728 100755 --- a/.husky/pre-commit +++ b/.husky/pre-commit @@ -1,4 +1,3 @@ -# v0.7.0 #!/usr/bin/env sh set -e . "$(dirname -- "$0")/_/husky.sh" diff --git a/Dockerfile b/Dockerfile index 31350bc6e18..d511fa58e80 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,7 @@ # v0.7.0 # Base node image -FROM node:18-alpine AS node +FROM node:18-alpine3.18 AS node RUN apk add g++ make py3-pip RUN npm install -g node-gyp @@ -17,7 +17,9 @@ COPY --chown=node:node . . # Allow mounting of these files, which have no default # values. RUN touch .env -RUN npm config set fetch-retry-maxtimeout 300000 +RUN npm config set fetch-retry-maxtimeout 600000 +RUN npm config set fetch-retries 5 +RUN npm config set fetch-retry-mintimeout 15000 RUN npm install --no-audit # React client build