diff --git a/docker/Dockerfile.api-bullseye-slim b/docker/Dockerfile.api-bullseye-slim index f0536c81..19a46d7a 100644 --- a/docker/Dockerfile.api-bullseye-slim +++ b/docker/Dockerfile.api-bullseye-slim @@ -1,12 +1,12 @@ # Build sources. -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /src COPY . ./ WORKDIR /src/src/Money.Api RUN dotnet publish -c Release -r linux-x64 -o /app # Final image. -FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim +FROM mcr.microsoft.com/dotnet/aspnet:7.0-bullseye-slim WORKDIR /app COPY --from=build /app . ENTRYPOINT ["./Money.Api"] \ No newline at end of file diff --git a/docker/Dockerfile.api-bullseye-slim-arm32v7 b/docker/Dockerfile.api-bullseye-slim-arm32v7 index b7f1a6a2..bedd5352 100644 --- a/docker/Dockerfile.api-bullseye-slim-arm32v7 +++ b/docker/Dockerfile.api-bullseye-slim-arm32v7 @@ -1,12 +1,12 @@ # Build sources. -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build WORKDIR /src COPY . ./ WORKDIR /src/src/Money.Api RUN dotnet publish -c Release -r linux-arm -o /app # Final image. -FROM mcr.microsoft.com/dotnet/aspnet:6.0-bullseye-slim-arm32v7 +FROM mcr.microsoft.com/dotnet/aspnet:7.0-bullseye-slim-arm32v7 WORKDIR /app COPY --from=build /app . ENTRYPOINT ["./Money.Api"] \ No newline at end of file