fix: exclude cypress from build in Dockerfile

This commit is contained in:
Frank Strieter 2022-03-25 07:26:15 +01:00
parent 5065f2cb80
commit a83d6a691a
3 changed files with 375 additions and 375 deletions

View File

@ -3,7 +3,7 @@ FROM node:16 AS compile-frontend
COPY . /src
WORKDIR /src/src-ui
RUN npm update npm -g && npm install
RUN npm update npm -g && npm ci --no-optional
RUN ./node_modules/.bin/ng build --configuration production

742
src-ui/package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -43,16 +43,18 @@
"@angular-devkit/build-angular": "~13.2.5",
"@angular/cli": "~13.2.5",
"@angular/compiler-cli": "~13.2.4",
"@cypress/schematic": "^1.6.0",
"@types/jest": "27.4.1",
"@types/node": "^17.0.21",
"codelyzer": "^6.0.2",
"concurrently": "7.0.0",
"cypress": "~9.5.2",
"jest": "27.5.1",
"ts-node": "~10.7.0",
"tslint": "~6.1.3",
"typescript": "~4.5.5",
"wait-on": "~6.0.1"
},
"optionalDependencies": {
"cypress": "~9.5.2",
"@cypress/schematic": "^1.6.0"
}
}