fix: 在Dockerfile中使用.net 8

This commit is contained in:
jackfiled 2023-11-19 13:23:21 +08:00
parent 07c4329b83
commit 222bd715e7

View File

@ -1,4 +1,4 @@
FROM mcr.microsoft.com/dotnet/aspnet:7.0 FROM mcr.microsoft.com/dotnet/aspnet:8.0
WORKDIR /app WORKDIR /app
COPY ./publish/ . COPY ./publish/ .
ENTRYPOINT ["dotnet", "Frontend.dll"] ENTRYPOINT ["dotnet", "Frontend.dll"]