mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-09-21 21:50:49 +02:00
🐳 hotfix: Necessary Dockerfile Update (#2271)
* chore: remove version comment from pre-commit shell script * chore: Dockerfile update
This commit is contained in:
parent
038063d4d1
commit
8b3f80fe24
2 changed files with 4 additions and 3 deletions
|
@ -1,4 +1,3 @@
|
|||
# v0.7.0
|
||||
#!/usr/bin/env sh
|
||||
set -e
|
||||
. "$(dirname -- "$0")/_/husky.sh"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue