Skip to content

Commit

Permalink
🐳 hotfix: Necessary Dockerfile Update (danny-avila#2271)
Browse files Browse the repository at this point in the history
* chore: remove version comment from pre-commit shell script

* chore: Dockerfile update
  • Loading branch information
danny-avila authored Apr 1, 2024
1 parent 038063d commit 8b3f80f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
1 change: 0 additions & 1 deletion .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
# v0.7.0
#!/usr/bin/env sh
set -e
. "$(dirname -- "$0")/_/husky.sh"
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand Down

0 comments on commit 8b3f80f

Please sign in to comment.