Skip to content

Commit 303e838

Browse files
authored
docs: Update heroku.md 📄 (danny-avila#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.
1 parent 3cc3fd9 commit 303e838

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

docs/deployment/heroku.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ FROM node:19-alpine AS base
1919
WORKDIR /api
2020
COPY /api/package*.json /api/
2121
WORKDIR /
22+
COPY /config/ /config/
2223
COPY /package*.json /
2324
RUN npm ci
2425
@@ -39,7 +40,14 @@ FROM node:19-alpine AS base
3940
WORKDIR /client
4041
COPY /client/package*.json /client/
4142
WORKDIR /
43+
COPY /config/ /config/
4244
COPY /package*.json /
45+
46+
WORKDIR /packages/data-provider
47+
COPY /packages/data-provider ./
48+
RUN npm install && npm run build
49+
50+
WORKDIR /
4351
RUN npm ci
4452
4553
# React client build

0 commit comments

Comments
 (0)