Skip to content
This repository was archived by the owner on Feb 13, 2024. It is now read-only.

Commit d2b8e82

Browse files
author
Philipp Etschel
committed
removed unnecessary params, added flags to .npmrc, rebuild packe-lock.json
Signed-off-by: Philipp Etschel <philipp.etschel@ch.bosch.com>
1 parent 3b609da commit d2b8e82

File tree

4 files changed

+19
-30
lines changed

4 files changed

+19
-30
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
# Dockerfile that builds frontend and backend, mainly used by the docker-compose files
22

33
# Vue Build Container
4-
FROM node:16-buster-slim as VUE
4+
FROM node:16-buster as VUE
55
WORKDIR /frontend
66
COPY frontend .
7-
RUN npm ci --no-optional --legacy-peer-deps && npm run build
7+
RUN npm ci --legacy-peer-deps && npm run build
88

99
# Micronaut build
1010
FROM maven:3-eclipse-temurin-17 as MAVEN

backend/business-partner-agent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,7 +428,7 @@
428428
<goal>npm</goal>
429429
</goals>
430430
<configuration>
431-
<arguments>ci --no-optional --legacy-peer-deps</arguments>
431+
<arguments>ci --legacy-peer-deps</arguments>
432432
</configuration>
433433
</execution>
434434
<execution>

frontend/.npmrc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,6 @@
44
#
55
# SPDX-License-Identifier: Apache-2.0
66
save-exact=true
7-
optional=false
7+
save-prefix=
8+
omit[]=optional
9+
legacy-peer-deps=true

frontend/package-lock.json

Lines changed: 13 additions & 26 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)