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:
Cfomodz 2023-11-10 07:41:18 -05:00 committed by GitHub
parent efe057e0d8
commit 9d100ec0fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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