Fix front deploy

This commit is contained in:
Charles Bochet 2023-04-18 23:48:53 +02:00
parent 4018ac45b0
commit 5560476ea0

View File

@ -5,6 +5,10 @@ ARG FONTAWESOME_NPM_AUTH_TOKEN
WORKDIR /app/front
COPY ./front .
RUN echo "@fortawesome:registry=https://npm.fontawesome.com/" > .npmrc
RUN echo "//npm.fontawesome.com/:_authToken=${FONTAWESOME_NPM_AUTH_TOKEN}" >> .npmrc
RUN npm install
RUN npm run build