From 773a72d74306b9e041b37f206c059dbc1b8d4ed7 Mon Sep 17 00:00:00 2001 From: Noan RANDON Date: Thu, 16 Mar 2023 09:25:33 +0100 Subject: [PATCH] Delete 'code/server/Dockerfile' --- code/server/Dockerfile | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 code/server/Dockerfile diff --git a/code/server/Dockerfile b/code/server/Dockerfile deleted file mode 100644 index ab1f7af..0000000 --- a/code/server/Dockerfile +++ /dev/null @@ -1,24 +0,0 @@ -#See https://aka.ms/containerfastmode to understand how Visual Studio uses this Dockerfile to build your images for faster debugging. - -FROM mcr.microsoft.com/dotnet/aspnet:6.0 AS base -WORKDIR /app -EXPOSE 80 -EXPOSE 443 - -FROM mcr.microsoft.com/dotnet/sdk:6.0 AS build -WORKDIR /src -COPY ["ApiLeapHit/ApiLeapHit.csproj", "ApiLeapHit/"] -COPY ["DTO/DTO.csproj", "DTO/"] -COPY ["DataBase/DataBase.csproj", "DataBase/"] -RUN dotnet restore "ApiLeapHit/ApiLeapHit.csproj" -COPY . . -WORKDIR "/src/ApiLeapHit" -RUN dotnet build "ApiLeapHit.csproj" -c Release -o /app/build - -FROM build AS publish -RUN dotnet publish "ApiLeapHit.csproj" -c Release -o /app/publish - -FROM base AS final -WORKDIR /app -COPY --from=publish /app/publish . -ENTRYPOINT ["dotnet", "ApiLeapHit.dll"] \ No newline at end of file