Skip to content

Commit ee47a34

Browse files
committed
update Dockerfile to 7.0
1 parent c77c10a commit ee47a34

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN npm ci
88
COPY fluidsignalr/ClientApp/src /js/src
99
RUN npm run build
1010

11-
FROM mcr.microsoft.com/dotnet/sdk:5.0 AS build
11+
FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build
1212
WORKDIR /app
1313

1414
# copy csproj and restore as distinct layers
@@ -28,7 +28,7 @@ RUN dotnet publish -c Release -o out
2828
###
2929
### Final runtime image
3030
###
31-
FROM mcr.microsoft.com/dotnet/aspnet:5.0 AS runtime
31+
FROM mcr.microsoft.com/dotnet/aspnet:7.0 AS runtime
3232
WORKDIR /app
3333
COPY --from=build /app/fluidsignalr/out ./
3434
EXPOSE 5000

0 commit comments

Comments
 (0)