RED-3800 try get successful build x2

This commit is contained in:
Dan Percic 2023-06-21 12:07:29 +03:00
parent c550519c0a
commit 88a0029280
2 changed files with 6 additions and 1 deletions

2
.gitignore vendored
View File

@ -47,3 +47,5 @@ paligo-styles/style.css*
migrations.json
*.iml
docker-compose.yml

View File

@ -1,5 +1,8 @@
FROM node:18.12-buster as prep
ARG BUILDVERSION=0.0.0
RUN echo $BUILDVERSION
RUN apt-get update && apt-get install -y jq
COPY package.json /tmp
@ -40,7 +43,7 @@ COPY sonar.js sonar.js
# RUN node sonar.js
RUN yarn run build-lint-all
RUN yarn run build-paligo-styles
RUN rm -rf ./node_modules
CMD ["/bin/cp", "-r", "/ng-app/dist/paligo-styles", "/tmp/styles-export"]
### STAGE 2: Setup ###