Fix production front deploy

This commit is contained in:
Charles Bochet
2023-06-14 17:10:08 +02:00
parent 287168f691
commit 78ab7e235f

View File

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