run sonar from docker

This commit is contained in:
Timo Bejan 2021-11-22 16:12:22 +02:00
parent b15776e29b
commit 6dfec774c7

View File

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