🐳 hotfix: Necessary Dockerfile Update (#2271)

* chore: remove version comment from pre-commit shell script

* chore: Dockerfile update
This commit is contained in:
Danny Avila 2024-04-01 18:46:12 -04:00 committed by GitHub
parent 038063d4d1
commit 8b3f80fe24
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 3 deletions

View file

@ -1,4 +1,3 @@
# v0.7.0
#!/usr/bin/env sh #!/usr/bin/env sh
set -e set -e
. "$(dirname -- "$0")/_/husky.sh" . "$(dirname -- "$0")/_/husky.sh"

View file

@ -1,7 +1,7 @@
# v0.7.0 # v0.7.0
# Base node image # Base node image
FROM node:18-alpine AS node FROM node:18-alpine3.18 AS node
RUN apk add g++ make py3-pip RUN apk add g++ make py3-pip
RUN npm install -g node-gyp RUN npm install -g node-gyp
@ -17,7 +17,9 @@ COPY --chown=node:node . .
# Allow mounting of these files, which have no default # Allow mounting of these files, which have no default
# values. # values.
RUN touch .env 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 RUN npm install --no-audit
# React client build # React client build