From 9d100ec0fcf0cb5a9f56dd51f4363196fb47eef3 Mon Sep 17 00:00:00 2001 From: Cfomodz Date: Fri, 10 Nov 2023 07:41:18 -0500 Subject: [PATCH] =?UTF-8?q?docs:=20Update=20heroku.md=20=F0=9F=93=84=20(#1?= =?UTF-8?q?160)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * 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. --- docs/deployment/heroku.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/deployment/heroku.md b/docs/deployment/heroku.md index dd11486697..29ec9f7172 100644 --- a/docs/deployment/heroku.md +++ b/docs/deployment/heroku.md @@ -19,6 +19,7 @@ FROM node:19-alpine AS base WORKDIR /api COPY /api/package*.json /api/ WORKDIR / +COPY /config/ /config/ COPY /package*.json / RUN npm ci @@ -39,7 +40,14 @@ FROM node:19-alpine AS base WORKDIR /client COPY /client/package*.json /client/ WORKDIR / +COPY /config/ /config/ COPY /package*.json / + +WORKDIR /packages/data-provider +COPY /packages/data-provider ./ +RUN npm install && npm run build + +WORKDIR / RUN npm ci # React client build