From 3209ca925eeabf1c747956d5b7de19e94752f5af Mon Sep 17 00:00:00 2001 From: Goetz Goerisch Date: Wed, 25 Sep 2024 10:16:47 +0200 Subject: [PATCH] temp: switch image version --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 83b586d..3f79a45 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,12 +1,12 @@ #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:8.0 AS base +FROM mcr.microsoft.com/dotnet/aspnet:8.0-bookworm-slim AS base WORKDIR /app EXPOSE 80 EXPOSE 443 EXPOSE 50000 -FROM mcr.microsoft.com/dotnet/sdk:8.0 AS build +FROM mcr.microsoft.com/dotnet/sdk:8.0-bookworm-slim AS build WORKDIR /src COPY ["UA-CloudPublisher.csproj", "."] RUN dotnet restore "./UA-CloudPublisher.csproj"