Skip to content

Commit

Permalink
šŸ‹ fix(Dockerfile): Possible interference from librechat-data-providerā€¦
Browse files Browse the repository at this point in the history
ā€¦ in client build
  • Loading branch information
ochen1 committed Apr 4, 2024
1 parent 57d17ee commit 221aeba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile.multi
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,11 @@ RUN npm run build
FROM data-provider-build AS client-build
WORKDIR /app/client
COPY ./client/package*.json ./
RUN npm install
COPY ./client/ ./
# Copy data-provider to client's node_modules
RUN mkdir -p /app/client/node_modules/librechat-data-provider/
RUN cp -R /app/packages/data-provider/* /app/client/node_modules/librechat-data-provider/
RUN npm install
COPY ./client/ ./
ENV NODE_OPTIONS="--max-old-space-size=2048"
RUN npm run build

Expand Down

0 comments on commit 221aeba

Please sign in to comment.