Skip to content

Commit 73873bc

Browse files
committed
Add npm cache clean --force
1 parent 300f195 commit 73873bc

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

AngularSpa/proxy.config.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"/": {
3-
"target": "http://localhost:5000",
4-
"secure": false
3+
"target": "https://localhost:5001",
4+
"secure": true
55
}
66
}

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ COPY . .
1111
RUN dotnet restore
1212

1313
WORKDIR /app/AngularSpa
14+
RUN npm cache clean --force
1415
RUN dotnet publish -c release -o /out --no-restore
1516

1617
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS runtime

0 commit comments

Comments
 (0)