File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Doppler.HelloMicroservice Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ WORKDIR /src
1010COPY ./*.sh ./
1111RUN shellcheck -e SC1091,SC1090 ./*.sh
1212
13- FROM mcr.microsoft.com/dotnet/sdk:7.0.305 -bullseye-slim AS restore
13+ FROM mcr.microsoft.com/dotnet/sdk:7.0.410 -bullseye-slim AS restore
1414WORKDIR /src
1515COPY ./*.sln ./
1616COPY */*.csproj ./
@@ -29,7 +29,7 @@ RUN dotnet test
2929FROM build AS publish
3030RUN dotnet publish "./Doppler.HelloMicroservice/Doppler.HelloMicroservice.csproj" -c Release -o /app/publish
3131
32- FROM mcr.microsoft.com/dotnet/aspnet:7.0.8 -bullseye-slim AS final
32+ FROM mcr.microsoft.com/dotnet/aspnet:7.0.20 -bullseye-slim AS final
3333WORKDIR /app
3434EXPOSE 80
3535COPY --from=publish /app/publish .
Original file line number Diff line number Diff line change 11# See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.
22
3- FROM mcr.microsoft.com/dotnet/aspnet:7.0.8 -bullseye-slim AS base
3+ FROM mcr.microsoft.com/dotnet/aspnet:7.0.20 -bullseye-slim AS base
44WORKDIR /app
55EXPOSE 80
66
7- FROM mcr.microsoft.com/dotnet/sdk:7.0.305 -bullseye-slim AS build
7+ FROM mcr.microsoft.com/dotnet/sdk:7.0.410 -bullseye-slim AS build
88WORKDIR /src
99COPY ["Doppler.HelloMicroservice/Doppler.HelloMicroservice.csproj" , "Doppler.HelloMicroservice/" ]
1010RUN dotnet restore "Doppler.HelloMicroservice/Doppler.HelloMicroservice.csproj"
You can’t perform that action at this time.
0 commit comments