From c60190520bdad253ed4954868a6d90ac5dbec33f Mon Sep 17 00:00:00 2001 From: Bert Temme Date: Thu, 1 Aug 2024 22:38:27 +0200 Subject: [PATCH] Update Dockerfile --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 97bc532..23593c5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,10 +1,10 @@ FROM mcr.microsoft.com/dotnet/sdk:8.0 as build +WORKDIR /src COPY . . -WORKDIR src RUN dotnet build "i3dm.export.csproj" -c Release RUN dotnet publish "i3dm.export.csproj" -c Release -o /app FROM mcr.microsoft.com/dotnet/runtime:8.0 WORKDIR /app COPY --from=build /app /app/ -ENTRYPOINT ["dotnet", "i3dm.export.dll"] \ No newline at end of file +ENTRYPOINT ["dotnet", "i3dm.export.dll"]