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,4 +1,4 @@
FROM --platform=$BUILDPLATFORM dhi.io/dotnet:10.0.101-sdk-alpine3.22 AS builder
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:10.0.101-noble AS builder
ARG TARGETARCH
WORKDIR /app
COPY my-sample-app.csproj .
Expand All @@ -11,7 +11,7 @@ RUN dotnet publish my-sample-app.csproj \
-o /my-sample-app \
--no-restore

FROM dhi.io/dotnet:10.0.1-alpine3.22
FROM mcr.microsoft.com/dotnet/runtime:10.0.1-noble-chiseled-extra
WORKDIR /app
COPY --from=builder /my-sample-app .
EXPOSE 8080
Expand Down