-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
更新了基础镜像版本,从 `mcr.microsoft.com/dotnet/aspnet:8.0` 升级到 `mcr.microsoft.com/dotnet/aspnet:9.0`。 在 Dockerfile 中添加了中文注释,解释了各个阶段的用途。 将 `EXPOSE` 端口从 `8081` 移除。 在 `build` 阶段中,更新了 .NET SDK 版本,从 `mcr.microsoft.com/dotnet/sdk:8.0` 升级到 `mcr.microsoft.com/dotnet/sdk:9.0`。 调整了项目文件的复制顺序,重新添加了一些项目文件的复制命令。 更新了 `dotnet restore` 和 `dotnet build` 命令的路径。 在 `launchSettings.json` 中添加了新的启动配置 `Container (.NET SDK)`,用于容器调试。 在 `Thor.Service.csproj` 中添加了 `RuntimeIdentifiers`、`EnableSdkContainerDebugging` 和 `ContainerBaseImage` 属性,以支持容器调试。 移除了 `Thor.Service.csproj` 中的 `.dockerignore` 文件的内容项。
- Loading branch information
Showing
3 changed files
with
35 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters