mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
🐳chore(Dockerfile): add additional steps to prevent arm64 build failure
This commit is contained in:
parent
ed7d7c2fda
commit
1caa31b035
1 changed files with 3 additions and 0 deletions
|
|
@ -7,6 +7,9 @@ WORKDIR /app
|
||||||
# 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 apk add --no-cache g++ make python3 py3-pip
|
||||||
|
RUN npm install -g node-gyp
|
||||||
RUN apk --no-cache add curl && \
|
RUN apk --no-cache add curl && \
|
||||||
npm install
|
npm install
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue