mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
🐋 chore: Revise of PR #2157, move step earlier
This commit is contained in:
parent
09de9a2b42
commit
3f77fe18b7
1 changed files with 2 additions and 2 deletions
|
|
@ -1,6 +1,8 @@
|
||||||
# Base node image
|
# Base node image
|
||||||
FROM node:18-alpine AS node
|
FROM node:18-alpine AS node
|
||||||
|
|
||||||
|
RUN apk add g++ make py3-pip
|
||||||
|
|
||||||
RUN mkdir -p /app && chown node:node /app
|
RUN mkdir -p /app && chown node:node /app
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
|
@ -12,10 +14,8 @@ COPY --chown=node:node . .
|
||||||
# values.
|
# values.
|
||||||
RUN touch .env
|
RUN touch .env
|
||||||
RUN npm config set fetch-retry-maxtimeout 300000
|
RUN npm config set fetch-retry-maxtimeout 300000
|
||||||
RUN apk add g++ make py3-pip
|
|
||||||
RUN npm install -g node-gyp
|
RUN npm install -g node-gyp
|
||||||
|
|
||||||
|
|
||||||
RUN apk --no-cache add curl && \
|
RUN apk --no-cache add curl && \
|
||||||
npm install --no-audit
|
npm install --no-audit
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue