Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 8bd43a4

Browse files
committed
Commit to update node version and npm version in Dockerfile docker-compose.yml
1 parent 5ca9c99 commit 8bd43a4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/Web/WebSPA/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22

3-
ARG NODE_IMAGE=node:12.0
3+
ARG NODE_IMAGE=node:16-bullseye
44
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS base
55
WORKDIR /app
66
EXPOSE 80
@@ -9,7 +9,7 @@ FROM ${NODE_IMAGE} as node-build
99
WORKDIR /web/src
1010
COPY Web/WebSPA/Client/package.json .
1111
COPY Web/WebSPA/Client/package-lock.json .
12-
RUN npm install -g npm@6
12+
RUN npm install -g npm@9.5.1
1313
RUN npm install
1414
COPY Web/WebSPA/Client .
1515
RUN npm run build:prod

src/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ services:
135135
context: .
136136
dockerfile: Web/WebSPA/Dockerfile
137137
args:
138-
NODE_IMAGE: ${NODE_IMAGE:-node:12.0}
138+
NODE_IMAGE: ${NODE_IMAGE:-node:19-bullseye}
139139
depends_on:
140140
- webshoppingagg
141141
- webshoppingapigw

0 commit comments

Comments
 (0)