Skip to content

Commit

Permalink
chore(deps): update .net core docker containers
Browse files Browse the repository at this point in the history
  • Loading branch information
renovate[bot] committed Jul 30, 2024
1 parent 58df92d commit d6df503
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ WORKDIR /src
COPY ./*.sh ./
RUN shellcheck -e SC1091,SC1090 ./*.sh

FROM mcr.microsoft.com/dotnet/sdk:7.0.400-bullseye-slim AS restore
FROM mcr.microsoft.com/dotnet/sdk:7.0.410-bullseye-slim AS restore
WORKDIR /src
COPY ./*.sln ./
# Using `Doppler.` prefix to avoid docker confuse symlink with directories
Expand All @@ -33,7 +33,7 @@ RUN dotnet test
FROM build AS publish
RUN dotnet publish "./Doppler.HtmlEditorApi/Doppler.HtmlEditorApi.csproj" -c Release -o /app/publish

FROM mcr.microsoft.com/dotnet/aspnet:7.0.10-bullseye-slim AS final
FROM mcr.microsoft.com/dotnet/aspnet:7.0.20-bullseye-slim AS final
WORKDIR /app
EXPOSE 80
COPY --from=publish /app/publish .
Expand Down
4 changes: 2 additions & 2 deletions Doppler.HtmlEditorApi/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging.

FROM mcr.microsoft.com/dotnet/aspnet:7.0.10-bullseye-slim AS base
FROM mcr.microsoft.com/dotnet/aspnet:7.0.20-bullseye-slim AS base
WORKDIR /app
EXPOSE 80

FROM mcr.microsoft.com/dotnet/sdk:7.0.400-bullseye-slim AS build
FROM mcr.microsoft.com/dotnet/sdk:7.0.410-bullseye-slim AS build
WORKDIR /src
COPY ["Doppler.HtmlEditorApi/Doppler.HtmlEditorApi.csproj", "Doppler.HtmlEditorApi/"]
RUN dotnet restore "Doppler.HtmlEditorApi/Doppler.HtmlEditorApi.csproj"
Expand Down

0 comments on commit d6df503

Please sign in to comment.