run sonar from docker
This commit is contained in:
parent
b15776e29b
commit
6dfec774c7
@ -29,10 +29,12 @@ COPY .eslintrc.json .eslintrc.json
|
|||||||
COPY tsconfig.base.json tsconfig.base.json
|
COPY tsconfig.base.json tsconfig.base.json
|
||||||
COPY versions.sh version.sh
|
COPY versions.sh version.sh
|
||||||
COPY paligo-styles paligo-styles
|
COPY paligo-styles paligo-styles
|
||||||
|
COPY sonar.js sonar.js
|
||||||
|
|
||||||
## Build the angular app in production mode and store the artifacts in dist folder
|
## Build the angular app in production mode and store the artifacts in dist folder
|
||||||
RUN yarn run build-lint-all
|
RUN yarn run build-lint-all
|
||||||
RUN yarn run build-paligo-styles
|
RUN yarn run build-paligo-styles
|
||||||
|
RUN node sonar.js
|
||||||
CMD ["/bin/cp", "-r", "/ng-app/dist/paligo-styles", "/tmp/styles-export"]
|
CMD ["/bin/cp", "-r", "/ng-app/dist/paligo-styles", "/tmp/styles-export"]
|
||||||
|
|
||||||
### STAGE 2: Setup ###
|
### STAGE 2: Setup ###
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user