Skip to content

Commit 61d352f

Browse files
authored
Update Dockerfile
1 parent 40da244 commit 61d352f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@
55
#如果你想先手动dotnet build成可执行的二进制文件,然后再构建镜像,请看.Api层下的dockerfile。
66

77

8-
FROM mcr.microsoft.com/dotnet/aspnet:6.0-buster-slim AS base
8+
FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim AS base
99
WORKDIR /app
1010
EXPOSE 80
1111

12-
FROM mcr.microsoft.com/dotnet/sdk:6.0-buster-slim AS build
12+
FROM mcr.microsoft.com/dotnet/sdk:6.0-bullseye-slim AS build
1313
WORKDIR /src
1414
COPY ["Blog.Core.Api/Blog.Core.Api.csproj", "Blog.Core.Api/"]
1515
COPY ["Blog.Core.Extensions/Blog.Core.Extensions.csproj", "Blog.Core.Extensions/"]

0 commit comments

Comments
 (0)