Skip to content

Commit af4b0a1

Browse files
committed
Update dockerfiles
1 parent 736ebf2 commit af4b0a1

File tree

4 files changed

+8
-8
lines changed

4 files changed

+8
-8
lines changed
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/nightly/sdk:9.0-preview AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env
22
WORKDIR /app
33

44
# Copy everything
@@ -8,7 +8,7 @@ RUN dotnet restore examples/Container/Backend
88
RUN dotnet publish examples/Container/Backend -c Release -o out
99

1010
# Build runtime image
11-
FROM mcr.microsoft.com/dotnet/nightly/aspnet:9.0-preview
11+
FROM mcr.microsoft.com/dotnet/aspnet:9.0
1212
WORKDIR /app
1313
COPY --from=build-env /app/out .
1414
ENTRYPOINT ["dotnet", "Backend.dll"]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/nightly/sdk:9.0-preview AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env
22
WORKDIR /app
33

44
# Copy everything
@@ -8,7 +8,7 @@ RUN dotnet restore examples/Container/Frontend
88
RUN dotnet publish examples/Container/Frontend -c Release -o out
99

1010
# Build runtime image
11-
FROM mcr.microsoft.com/dotnet/nightly/aspnet:9.0-preview
11+
FROM mcr.microsoft.com/dotnet/aspnet:9.0
1212
WORKDIR /app
1313
COPY --from=build-env /app/out .
1414
ENTRYPOINT ["dotnet", "Frontend.dll"]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/nightly/sdk:9.0-preview AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env
22
WORKDIR /app
33

44
# Copy everything
@@ -8,7 +8,7 @@ RUN dotnet restore testassets/InteropTestsGrpcWebWebsite
88
RUN dotnet publish testassets/InteropTestsGrpcWebWebsite -c Release -o out
99

1010
# Build runtime image
11-
FROM mcr.microsoft.com/dotnet/nightly/aspnet:9.0-preview
11+
FROM mcr.microsoft.com/dotnet/aspnet:9.0
1212
WORKDIR /app
1313
COPY --from=build-env /app/out .
1414
ENTRYPOINT ["dotnet", "InteropTestsGrpcWebWebsite.dll", "--urls", "http://+:80"]
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/nightly/sdk:9.0-preview AS build-env
1+
FROM mcr.microsoft.com/dotnet/sdk:9.0 AS build-env
22
WORKDIR /app
33

44
# Copy everything
@@ -8,7 +8,7 @@ RUN dotnet restore testassets/InteropTestsWebsite
88
RUN dotnet publish testassets/InteropTestsWebsite --framework net9.0 -c Release -o out -p:LatestFramework=true
99

1010
# Build runtime image
11-
FROM mcr.microsoft.com/dotnet/nightly/aspnet:9.0-preview
11+
FROM mcr.microsoft.com/dotnet/aspnet:9.0
1212
WORKDIR /app
1313
COPY --from=build-env /app/out .
1414
ENTRYPOINT ["dotnet", "InteropTestsWebsite.dll", "--port_http1", "80"]

0 commit comments

Comments
 (0)