fixed Dockerfile FROM STatements
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user