From 78ab7e235ff4913c00fc93766c63009caeb65517 Mon Sep 17 00:00:00 2001 From: Charles Bochet Date: Wed, 14 Jun 2023 17:10:08 +0200 Subject: [PATCH] Fix production front deploy --- infra/prod/front/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/infra/prod/front/Dockerfile b/infra/prod/front/Dockerfile index 17c3b46be..764c28f99 100644 --- a/infra/prod/front/Dockerfile +++ b/infra/prod/front/Dockerfile @@ -3,10 +3,12 @@ FROM node:18.16.0-alpine as front ARG REACT_APP_API_URL ARG REACT_APP_AUTH_URL +COPY ../packages/ /app/packages + WORKDIR /app/front COPY ./front . -RUN yarn install --install-links +RUN yarn install RUN yarn build RUN yarn install -g serve