fixed Dockerfile FROM STatements
Some checks failed
Tests / Declarative: Post Actions passed: 1
csharp-secdevops-pipeline-pod/pipeline/head There was a failure building this commit

This commit is contained in:
2026-05-06 13:22:54 +02:00
parent bce0feb57f
commit 08a3edaef2

View File

@@ -11,7 +11,7 @@ COPY . ./
RUN dotnet publish -c Release -o out RUN dotnet publish -c Release -o out
# --- Stage 2: Runtime (Das fertige, schlanke Image) --- # --- Stage 2: Runtime (Das fertige, schlanke Image) ---
FROM ://microsoft.com FROM mcr.microsoft.com/dotnet/aspnet:8.0
WORKDIR /app WORKDIR /app
# 3. Den vorinstallierten User 'app' von Microsoft nutzen # 3. Den vorinstallierten User 'app' von Microsoft nutzen