mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-17 08:50:15 +01:00
docs: Update heroku.md 📄 (#1160)
* Update heroku.md Copying the config/install.js expected by RUN npm ci Heroku CLI would not take the push without this and errored out consistently due to the expected file being missing.
This commit is contained in:
parent
efe057e0d8
commit
9d100ec0fc
1 changed files with 8 additions and 0 deletions
|
|
@ -19,6 +19,7 @@ FROM node:19-alpine AS base
|
||||||
WORKDIR /api
|
WORKDIR /api
|
||||||
COPY /api/package*.json /api/
|
COPY /api/package*.json /api/
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
COPY /config/ /config/
|
||||||
COPY /package*.json /
|
COPY /package*.json /
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
|
|
@ -39,7 +40,14 @@ FROM node:19-alpine AS base
|
||||||
WORKDIR /client
|
WORKDIR /client
|
||||||
COPY /client/package*.json /client/
|
COPY /client/package*.json /client/
|
||||||
WORKDIR /
|
WORKDIR /
|
||||||
|
COPY /config/ /config/
|
||||||
COPY /package*.json /
|
COPY /package*.json /
|
||||||
|
|
||||||
|
WORKDIR /packages/data-provider
|
||||||
|
COPY /packages/data-provider ./
|
||||||
|
RUN npm install && npm run build
|
||||||
|
|
||||||
|
WORKDIR /
|
||||||
RUN npm ci
|
RUN npm ci
|
||||||
|
|
||||||
# React client build
|
# React client build
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue