delete node modules before build

This commit is contained in:
Dan Percic 2023-06-23 16:37:05 +03:00
parent 4b27e97c4e
commit be192c780b
2 changed files with 2 additions and 1 deletions

View File

@ -17,6 +17,7 @@ COPY yarn.lock ./
## Storing node modules on a separate layer will prevent unnecessary npm installs at each build
RUN yarn cache clean
RUN rm -rf ./node_modules
RUN yarn install && mkdir /ng-app && mv ./node_modules ./ng-app
ARG bamboo_sonarqube_api_token_secret
ENV bamboo_sonarqube_api_token_secret=$bamboo_sonarqube_api_token_secret

View File

@ -1,6 +1,6 @@
{
"name": "redaction",
"version": "3.988.62",
"version": "3.988.63",
"private": true,
"license": "MIT",
"scripts": {