Skip to content

Commit 01e4463

Browse files
authored
Update Dockerfile
1 parent 35274f7 commit 01e4463

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

reactions/azure/eventgrid-reaction/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@
1313
# limitations under the License.
1414

1515

16-
FROM mcr.microsoft.com/dotnet/sdk:8.0-cbl-mariner2.0 AS build
16+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0-cbl-mariner2.0 AS build
1717
ARG BUILD_CONFIGURATION=Release
1818
WORKDIR /src
1919
COPY . .
2020
RUN dotnet restore
2121
RUN dotnet build -c $BUILD_CONFIGURATION -o /app/build
2222

23-
FROM mcr.microsoft.com/dotnet/aspnet:8.0-cbl-mariner2.0 AS final
23+
FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/aspnet:8.0-cbl-mariner2.0 AS final
2424
WORKDIR /app
2525
COPY --from=build /app/build .
26-
ENTRYPOINT ["/app/eventgrid-reaction"]
26+
ENTRYPOINT ["/app/eventgrid-reaction"]

0 commit comments

Comments
 (0)