From 9c63ece79ffba830733d3db981e085cdd220e782 Mon Sep 17 00:00:00 2001 From: Maxence Lanone Date: Tue, 7 Feb 2023 14:26:45 +0100 Subject: [PATCH] remove docker config --- .vs/LeagueOfLegends/xs/UserPrefs.xml | 51 +++++++------------ LeagueOfLegends.sln | 23 +++------ WebApiLol/Dockerfile | 22 -------- .../Debug/net7.0/WebApiLol.AssemblyInfo.cs | 1 + .../net7.0/WebApiLol.AssemblyInfoInputs.cache | 2 +- 5 files changed, 28 insertions(+), 71 deletions(-) delete mode 100644 WebApiLol/Dockerfile diff --git a/.vs/LeagueOfLegends/xs/UserPrefs.xml b/.vs/LeagueOfLegends/xs/UserPrefs.xml index 3f58e9d..aaf4ff2 100644 --- a/.vs/LeagueOfLegends/xs/UserPrefs.xml +++ b/.vs/LeagueOfLegends/xs/UserPrefs.xml @@ -1,25 +1,9 @@  - - - - - - + - - Tests/ConsoleTestapi/ConsoleTestapi.csproj - docker-compose.dcproj - - - - - - - - - - + + @@ -43,26 +27,29 @@ + + - - - - - - - - - - - - - + + + + + + + + + + + + + Tests/ConsoleTestapi/ConsoleTestapi.csproj + \ No newline at end of file diff --git a/LeagueOfLegends.sln b/LeagueOfLegends.sln index f9c4ff7..21039bc 100644 --- a/LeagueOfLegends.sln +++ b/LeagueOfLegends.sln @@ -25,14 +25,9 @@ Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "EntityFrameWorkLib", "Entit EndProject Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "WebApiLol", "WebApiLol\WebApiLol.csproj", "{DAE3B5A2-8904-43AE-8459-ED64C3366FDF}" EndProject -Project("{9344BDBB-3E7F-41FC-A0DD-8665D75EE146}") = "ConsoleTestapi", "Tests\ConsoleTestapi\ConsoleTestapi.csproj", "{95E32251-0B03-4233-B9FF-5D5F1F618833}" -EndProject -Project("{E53339B2-1760-4266-BCC7-CA923CBCF16C}") = "docker-compose", "docker-compose.dcproj", "{23AC6E45-406F-4320-B951-3B59DB10988C}" -EndProject Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{73142960-0D40-4766-973B-37094F4BD879}" - ProjectSection(SolutionItems) = preProject - Dockerfile = Dockerfile - EndProjectSection +EndProject +Project("{9344BDBB-3E7F-41FC-A0DD-8665D75EE146}") = "ConsoleTestapi", "Tests\ConsoleTestapi\ConsoleTestapi.csproj", "{D8DA374E-6A54-46A0-962D-ADCFECF58C19}" EndProject Global GlobalSection(SolutionConfigurationPlatforms) = preSolution @@ -76,14 +71,10 @@ Global {DAE3B5A2-8904-43AE-8459-ED64C3366FDF}.Debug|Any CPU.Build.0 = Debug|Any CPU {DAE3B5A2-8904-43AE-8459-ED64C3366FDF}.Release|Any CPU.ActiveCfg = Release|Any CPU {DAE3B5A2-8904-43AE-8459-ED64C3366FDF}.Release|Any CPU.Build.0 = Release|Any CPU - {95E32251-0B03-4233-B9FF-5D5F1F618833}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {95E32251-0B03-4233-B9FF-5D5F1F618833}.Debug|Any CPU.Build.0 = Debug|Any CPU - {95E32251-0B03-4233-B9FF-5D5F1F618833}.Release|Any CPU.ActiveCfg = Release|Any CPU - {95E32251-0B03-4233-B9FF-5D5F1F618833}.Release|Any CPU.Build.0 = Release|Any CPU - {23AC6E45-406F-4320-B951-3B59DB10988C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU - {23AC6E45-406F-4320-B951-3B59DB10988C}.Debug|Any CPU.Build.0 = Debug|Any CPU - {23AC6E45-406F-4320-B951-3B59DB10988C}.Release|Any CPU.ActiveCfg = Release|Any CPU - {23AC6E45-406F-4320-B951-3B59DB10988C}.Release|Any CPU.Build.0 = Release|Any CPU + {D8DA374E-6A54-46A0-962D-ADCFECF58C19}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {D8DA374E-6A54-46A0-962D-ADCFECF58C19}.Debug|Any CPU.Build.0 = Debug|Any CPU + {D8DA374E-6A54-46A0-962D-ADCFECF58C19}.Release|Any CPU.ActiveCfg = Release|Any CPU + {D8DA374E-6A54-46A0-962D-ADCFECF58C19}.Release|Any CPU.Build.0 = Release|Any CPU EndGlobalSection GlobalSection(SolutionProperties) = preSolution HideSolutionNode = FALSE @@ -96,6 +87,6 @@ Global {B01D7EF2-2D64-409A-A29A-61FB7BB7A9DB} = {2C607793-B163-4731-A4D1-AFE8A7C4C170} {3E16421B-7372-477D-A25E-8249D5203A1E} = {C76D0C23-1FFA-4963-93CD-E12BD643F030} {F4473EB6-6CD7-4A73-89BC-82C247A23412} = {C76D0C23-1FFA-4963-93CD-E12BD643F030} - {95E32251-0B03-4233-B9FF-5D5F1F618833} = {C76D0C23-1FFA-4963-93CD-E12BD643F030} + {D8DA374E-6A54-46A0-962D-ADCFECF58C19} = {C76D0C23-1FFA-4963-93CD-E12BD643F030} EndGlobalSection EndGlobal diff --git a/WebApiLol/Dockerfile b/WebApiLol/Dockerfile deleted file mode 100644 index 87cca07..0000000 --- a/WebApiLol/Dockerfile +++ /dev/null @@ -1,22 +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:7.0 AS base -WORKDIR /app -EXPOSE 80 -EXPOSE 443 - -FROM mcr.microsoft.com/dotnet/sdk:7.0 AS build -WORKDIR /src -COPY ["WebApiLol/WebApiLol.csproj", "WebApiLol/"] -RUN dotnet restore "WebApiLol/WebApiLol.csproj" -COPY . . -WORKDIR "/src/WebApiLol" -RUN dotnet build "WebApiLol.csproj" -c Release -o /app/build - -FROM build AS publish -RUN dotnet publish "WebApiLol.csproj" -c Release -o /app/publish /p:UseAppHost=false - -FROM base AS final -WORKDIR /app -COPY --from=publish /app/publish . -ENTRYPOINT ["dotnet", "WebApiLol.dll"] diff --git a/WebApiLol/obj/Debug/net7.0/WebApiLol.AssemblyInfo.cs b/WebApiLol/obj/Debug/net7.0/WebApiLol.AssemblyInfo.cs index e23d49c..32b294c 100644 --- a/WebApiLol/obj/Debug/net7.0/WebApiLol.AssemblyInfo.cs +++ b/WebApiLol/obj/Debug/net7.0/WebApiLol.AssemblyInfo.cs @@ -10,6 +10,7 @@ using System; using System.Reflection; +[assembly: Microsoft.Extensions.Configuration.UserSecrets.UserSecretsIdAttribute("dd7888cb-963f-4be5-85ae-fe318eb51482")] [assembly: System.Reflection.AssemblyCompanyAttribute("WebApiLol")] [assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] [assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] diff --git a/WebApiLol/obj/Debug/net7.0/WebApiLol.AssemblyInfoInputs.cache b/WebApiLol/obj/Debug/net7.0/WebApiLol.AssemblyInfoInputs.cache index 50719e5..e88bd97 100644 --- a/WebApiLol/obj/Debug/net7.0/WebApiLol.AssemblyInfoInputs.cache +++ b/WebApiLol/obj/Debug/net7.0/WebApiLol.AssemblyInfoInputs.cache @@ -1 +1 @@ -78a74c171b409401e1f3321afa9ee8bf07a7fee8 +2475c5ff48063d0afde529fec0defa8e14d04703