Skip to content

Commit 8e602a6

Browse files
committed
fix dockerfile for net9.0
1 parent f75d75c commit 8e602a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM mcr.microsoft.com/dotnet/sdk:8.0
1+
FROM mcr.microsoft.com/dotnet/sdk:9.0
22

33
WORKDIR /dotnetapp
44

@@ -10,8 +10,8 @@ COPY RelistenApi/ .
1010

1111
RUN dotnet publish /p:Configuration=Release
1212

13-
RUN test -f bin/net8.0/publish/RelistenApi.dll
13+
RUN test -f bin/net9.0/publish/RelistenApi.dll
1414

1515
EXPOSE 3823
1616

17-
ENTRYPOINT ["dotnet", "bin/net8.0/publish/RelistenApi.dll"]
17+
ENTRYPOINT ["dotnet", "bin/net9.0/publish/RelistenApi.dll"]

0 commit comments

Comments
 (0)