fix for production build in dockerfile #379

This commit is contained in:
Sonja Happ 2022-04-11 16:05:50 +02:00
parent a40d138165
commit 5d8c3516e1
1 changed files with 2 additions and 1 deletions

View File

@ -29,7 +29,8 @@ RUN npm install --force
# Install app dependencies
ARG REACT_APP_BRAND
COPY . /usr/src/app
RUN npm run build
# Production build, CI=false prevents warnings from being treated as errors
RUN CI=false npm run build
FROM nginx