Skip to content
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://mcr.microsoft.com/product/dotnet/sdk
# https://mcr.microsoft.com/v2/dotnet/sdk/tags/list
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0.102-noble AS builder
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:9.0.102-azurelinux3.0 AS builder
ARG TARGETARCH
WORKDIR /app
COPY my-sample-app.csproj .
Expand All @@ -15,7 +15,7 @@ RUN dotnet publish my-sample-app.csproj \

# https://mcr.microsoft.com/product/dotnet/runtime-deps
# https://mcr.microsoft.com/v2/dotnet/runtime-deps/tags/list
FROM mcr.microsoft.com/dotnet/runtime-deps:9.0.1-noble-chiseled
FROM mcr.microsoft.com/dotnet/runtime-deps:9.0.1-azurelinux3.0-distroless
WORKDIR /app
COPY --from=builder /my-sample-app .
EXPOSE 8080
Expand Down