remove docker config
continuous-integration/drone/push Build is failing Details

pull/2/head
Maxence LANONE 2 years ago
parent 621892c959
commit 9c63ece79f

@ -1,25 +1,9 @@
<Properties GitUserInfo="UsingGIT" StartupConfiguration="Api">
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
<MonoDevelop.Ide.DebuggingService.Breakpoints>
<BreakpointStore />
</MonoDevelop.Ide.DebuggingService.Breakpoints>
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
<MonoDevelop.Ide.ItemProperties.Tests.TestUnitaireLOL PreferredExecutionTarget="MonoDevelop.Default" />
<MonoDevelop.Ide.ItemProperties.Tests.ConsoleTests PreferredExecutionTarget="MonoDevelop.Default" />
<MonoDevelop.Ide.Workspace ActiveConfiguration="Debug" />
<MonoDevelop.Ide.ItemProperties.DbDatamanager FirstBuild="True" />
<DisabledProjects>
<String>Tests/ConsoleTestapi/ConsoleTestapi.csproj</String>
<String>docker-compose.dcproj</String>
</DisabledProjects>
<MonoDevelop.Ide.ItemProperties.Tests.ConsoleDB PreferredExecutionTarget="MonoDevelop.Default" />
<MultiItemStartupConfigurations>
<MultiItemSolutionRunConfiguration Id="Api" Name="Api">
<Items>
<StartupItem ItemId="{DAE3B5A2-8904-43AE-8459-ED64C3366FDF}" ItemName="WebApiLol" ConfigurationId="https" />
</Items>
</MultiItemSolutionRunConfiguration>
</MultiItemStartupConfigurations>
<MonoDevelop.Ide.Workbench ActiveDocument="WebApiLol/Controllers/SkinController.cs">
<MonoDevelop.Ide.DebuggingService.PinnedWatches />
<MonoDevelop.Ide.Workbench ActiveDocument="WebApiLol/Dockerfile">
<Files>
<File FileName="StubLib/StubData.Skins.cs" />
<File FileName="StubLib/StubData.cs" />
@ -43,26 +27,29 @@
<File FileName="WebApiLol/SkinDTO.cs" />
<File FileName="WebApiLol/Controllers/SkillsController.cs" />
<File FileName="WebApiLol/Controllers/SkinController.cs" Line="29" Column="30" />
<File FileName="WebApiLol/Dockerfile" Line="12" Column="9" />
<File FileName="WebApiLol/Dockerfile" Line="1" Column="1" />
</Files>
<Pads>
<Pad Id="ProjectPad">
<State name="__root__">
<Node name="LeagueOfLegends" expanded="True">
<Node name="Tests" expanded="True">
<Node name="ConsoleDB" expanded="True" />
</Node>
<Node name="DbDatamanager" expanded="True" />
<Node name="EntityFrameWorkLib" expanded="True" />
<Node name="Model" expanded="True" />
<Node name="Shared" expanded="True" />
<Node name="WebApiLol" expanded="True">
<Node name="Controllers" expanded="True" />
<Node name="Properties" expanded="True" />
</Node>
</Node>
<Node name="LeagueOfLegends" expanded="True" />
</State>
</Pad>
</Pads>
</MonoDevelop.Ide.Workbench>
<MonoDevelop.Ide.ItemProperties.Tests.ConsoleTests PreferredExecutionTarget="MonoDevelop.Default" />
<MonoDevelop.Ide.DebuggingService.Breakpoints />
<MultiItemStartupConfigurations>
<MultiItemSolutionRunConfiguration Id="Api" Name="Api">
<Items>
<StartupItem ItemId="{DAE3B5A2-8904-43AE-8459-ED64C3366FDF}" ItemName="WebApiLol" ConfigurationId="https" />
</Items>
</MultiItemSolutionRunConfiguration>
</MultiItemStartupConfigurations>
<MonoDevelop.Ide.ItemProperties.Tests.ConsoleDB PreferredExecutionTarget="MonoDevelop.Default" />
<MonoDevelop.Ide.ItemProperties.WebApiLol PreferredExecutionTarget="/System/Volumes/Preboot/Cryptexes/App/System/Applications/Safari.app" />
<DisabledProjects>
<String>Tests/ConsoleTestapi/ConsoleTestapi.csproj</String>
</DisabledProjects>
</Properties>

@ -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

@ -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"]

@ -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")]

@ -1 +1 @@
78a74c171b409401e1f3321afa9ee8bf07a7fee8
2475c5ff48063d0afde529fec0defa8e14d04703

Loading…
Cancel
Save