Skip to content

Commit e450ffd

Browse files
committed
fix for npm run
1 parent d5de8bb commit e450ffd

4 files changed

Lines changed: 4 additions & 4 deletions

File tree

frontend/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN mkdir -p /app
44
WORKDIR /app
55
COPY package.json /app
66

7-
RUN npm install
7+
RUN npm install --legacy-peer-deps
88
RUN date > /app/date.txt
99
COPY . /app
1010
RUN npm run build -- --prod --aot --base-href $BASE_HREF

frontend/Dockerfile.prod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN mkdir -p /app
44
WORKDIR /app
55
COPY package.json /app
66

7-
RUN npm install
7+
RUN npm install --legacy-peer-deps
88
RUN date > /app/date.txt
99
COPY . /app
1010
RUN npm run build -- --prod --aot --base-href $BASE_HREF

gui

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN mkdir -p /app
44
WORKDIR /app
55
COPY ./frontend/package.json /app
66

7-
RUN npm install
7+
RUN npm install --legacy-peer-deps
88
RUN date > /app/date.txt
99
COPY ./frontend/. /app
1010
RUN npm run build -- --prod --aot --base-href $BASE_HREF

gui-beopen

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ RUN mkdir -p /app
44
WORKDIR /app
55
COPY ./frontend/package.json /app
66

7-
RUN npm install
7+
RUN npm install --legacy-peer-deps
88
RUN date > /app/date.txt
99
COPY ./frontend/. /app
1010
RUN npm run build -- --prod --aot --base-href "/data-model-mapper-gui/"

0 commit comments

Comments
 (0)