From 174cdfc66b90f40c7095af044c00d0df71ef1c1c Mon Sep 17 00:00:00 2001 From: Noan RANDON Date: Wed, 1 Mar 2023 13:24:02 +0100 Subject: [PATCH] :chart_with_upwards_trend: DockerFile --- code/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/Dockerfile b/code/Dockerfile index ed45ef5..f9526cc 100644 --- a/code/Dockerfile +++ b/code/Dockerfile @@ -15,14 +15,14 @@ WORKDIR "/app/api/ApiLeapHit" RUN dotnet build "ApiLeapHit.csproj" -c Release -o /app/api/build FROM build2 AS publish -RUN dotnet publish "ApiLeapHit.csproj" -c Release -o /app/publish +RUN dotnet publish "ApiLeapHit.csproj" -c Release -o /app/api/publish FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base WORKDIR /app EXPOSE 80 EXPOSE 443 -COPY --from=build1 /app/server/build . +COPY --from=build1 /app/server/out . COPY --from=publish /app/api/publish . ENTRYPOINT ["dotnet", "ApiLeapHit.dll"] \ No newline at end of file