diff --git a/docker/red-ui/Dockerfile b/docker/red-ui/Dockerfile index 017b7067f..b35057ee3 100644 --- a/docker/red-ui/Dockerfile +++ b/docker/red-ui/Dockerfile @@ -29,10 +29,12 @@ COPY .eslintrc.json .eslintrc.json COPY tsconfig.base.json tsconfig.base.json COPY versions.sh version.sh COPY paligo-styles paligo-styles +COPY sonar.js sonar.js ## Build the angular app in production mode and store the artifacts in dist folder RUN yarn run build-lint-all RUN yarn run build-paligo-styles +RUN node sonar.js CMD ["/bin/cp", "-r", "/ng-app/dist/paligo-styles", "/tmp/styles-export"] ### STAGE 2: Setup ###