diff --git a/.vs/LolProject/v17/.suo b/.vs/LolProject/v17/.suo
index ba8264e..cb24cbd 100644
Binary files a/.vs/LolProject/v17/.suo and b/.vs/LolProject/v17/.suo differ
diff --git a/src/EntityFramework_LoL/Sources/.dockerignore b/src/EntityFramework_LoL/Sources/.dockerignore
new file mode 100644
index 0000000..bdca33b
--- /dev/null
+++ b/src/EntityFramework_LoL/Sources/.dockerignore
@@ -0,0 +1,25 @@
+**/.classpath
+**/.dockerignore
+**/.env
+**/.git
+**/.gitignore
+**/.project
+**/.settings
+**/.toolstarget
+**/.vs
+**/.vscode
+**/*.*proj.user
+**/*.dbmdl
+**/*.jfm
+**/azds.yaml
+**/bin
+**/charts
+**/docker-compose*
+**/Dockerfile*
+**/node_modules
+**/npm-debug.log
+**/obj
+**/secrets.dev.yaml
+**/values.dev.yaml
+LICENSE
+README.md
\ No newline at end of file
diff --git a/src/EntityFramework_LoL/Sources/ApiLol/ApiLol.csproj b/src/EntityFramework_LoL/Sources/ApiLol/ApiLol.csproj
index 53e03ba..57d85a9 100644
--- a/src/EntityFramework_LoL/Sources/ApiLol/ApiLol.csproj
+++ b/src/EntityFramework_LoL/Sources/ApiLol/ApiLol.csproj
@@ -4,10 +4,13 @@
net6.0
enable
enable
+ 5d705319-109e-45cc-9570-b7a0789f2722
+ Linux
+
diff --git a/src/EntityFramework_LoL/Sources/ApiLol/Dockerfile b/src/EntityFramework_LoL/Sources/ApiLol/Dockerfile
new file mode 100644
index 0000000..ba83eb7
--- /dev/null
+++ b/src/EntityFramework_LoL/Sources/ApiLol/Dockerfile
@@ -0,0 +1,26 @@
+#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 ["ApiLol/ApiLol.csproj", "ApiLol/"]
+COPY ["StubLib/StubLib.csproj", "StubLib/"]
+COPY ["Model/Model.csproj", "Model/"]
+COPY ["Shared/Shared.csproj", "Shared/"]
+COPY ["DTO/DTO.csproj", "DTO/"]
+RUN dotnet restore "ApiLol/ApiLol.csproj"
+COPY . .
+WORKDIR "/src/ApiLol"
+RUN dotnet build "ApiLol.csproj" -c Release -o /app/build
+
+FROM build AS publish
+RUN dotnet publish "ApiLol.csproj" -c Release -o /app/publish
+
+FROM base AS final
+WORKDIR /app
+COPY --from=publish /app/publish .
+ENTRYPOINT ["dotnet", "ApiLol.dll"]
\ No newline at end of file
diff --git a/src/EntityFramework_LoL/Sources/ApiLol/Properties/launchSettings.json b/src/EntityFramework_LoL/Sources/ApiLol/Properties/launchSettings.json
index fd7dcb3..17e88b2 100644
--- a/src/EntityFramework_LoL/Sources/ApiLol/Properties/launchSettings.json
+++ b/src/EntityFramework_LoL/Sources/ApiLol/Properties/launchSettings.json
@@ -1,4 +1,4 @@
-{
+{
"$schema": "https://json.schemastore.org/launchsettings.json",
"iisSettings": {
"windowsAuthentication": false,
@@ -11,13 +11,13 @@
"profiles": {
"ApiLol": {
"commandName": "Project",
- "dotnetRunMessages": true,
"launchBrowser": true,
"launchUrl": "swagger",
- "applicationUrl": "https://localhost:7252;http://localhost:5252",
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
- }
+ },
+ "applicationUrl": "https://localhost:7252;http://localhost:5252",
+ "dotnetRunMessages": true
},
"IIS Express": {
"commandName": "IISExpress",
@@ -26,6 +26,13 @@
"environmentVariables": {
"ASPNETCORE_ENVIRONMENT": "Development"
}
+ },
+ "Docker": {
+ "commandName": "Docker",
+ "launchBrowser": true,
+ "launchUrl": "{Scheme}://{ServiceHost}:{ServicePort}/swagger",
+ "publishAllPorts": true,
+ "useSSL": true
}
}
-}
+}
\ No newline at end of file