Skip to content

Commit

Permalink
- removes platform from runtime image
Browse files Browse the repository at this point in the history
  • Loading branch information
baywet committed Jan 4, 2023
1 parent b7ebe07 commit 4b1236e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY ./src ./kiota/src
WORKDIR /app/kiota
RUN dotnet publish ./src/kiota/kiota.csproj -c Release

FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/runtime:7.0 as runtime
FROM mcr.microsoft.com/dotnet/runtime:7.0 as runtime
WORKDIR /app

COPY --from=build-env /app/kiota/src/kiota/bin/Release/net7.0 ./
Expand Down

0 comments on commit 4b1236e

Please sign in to comment.