Update Dockerfile

This commit is contained in:
Qasim Mehmood
2024-01-15 16:27:32 +05:00
committed by GitHub
parent 469b625989
commit 578f6ab62a

View File

@@ -2,6 +2,7 @@ FROM --platform=$BUILDPLATFORM mcr.microsoft.com/dotnet/sdk:8.0 AS build-env
WORKDIR /App
COPY . ./
ARG TARGETARCH
RUN dotnet restore -a $TARGETARCH
RUN dotnet publish -a $TARGETARCH -c Release -o out