diff --git a/Directory.Packages.props b/Directory.Packages.props
index 8ee046224..c07a747b3 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -38,7 +38,7 @@
-
+
@@ -55,7 +55,7 @@
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
@@ -67,7 +67,7 @@
-
+
diff --git a/KernelMemory.sln b/KernelMemory.sln
index 682950551..9fb0e7c2d 100644
--- a/KernelMemory.sln
+++ b/KernelMemory.sln
@@ -220,6 +220,7 @@ EndProject
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "content", "content", "{D4C4BED2-B071-49AB-BAA6-DB4721C0BF26}"
ProjectSection(SolutionItems) = preProject
tools\docker\content\run.sh = tools\docker\content\run.sh
+ tools\docker\content\setup.sh = tools\docker\content\setup.sh
EndProjectSection
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "AzureAISearch.UnitTests", "extensions\AzureAISearch\AzureAISearch.UnitTests\AzureAISearch.UnitTests.csproj", "{9F564F2D-EADD-47DE-9293-92B3E9CFFE36}"
diff --git a/examples/002-dotnet-SemanticKernelPlugin/002-dotnet-SemanticKernelPlugin.csproj b/examples/002-dotnet-SemanticKernelPlugin/002-dotnet-SemanticKernelPlugin.csproj
index 6dbb7016c..23c091afc 100644
--- a/examples/002-dotnet-SemanticKernelPlugin/002-dotnet-SemanticKernelPlugin.csproj
+++ b/examples/002-dotnet-SemanticKernelPlugin/002-dotnet-SemanticKernelPlugin.csproj
@@ -13,7 +13,7 @@
-
+
diff --git a/examples/203-dotnet-using-core-nuget/203-dotnet-using-core-nuget.csproj b/examples/203-dotnet-using-core-nuget/203-dotnet-using-core-nuget.csproj
index 48073b2d8..3323cb0f2 100644
--- a/examples/203-dotnet-using-core-nuget/203-dotnet-using-core-nuget.csproj
+++ b/examples/203-dotnet-using-core-nuget/203-dotnet-using-core-nuget.csproj
@@ -10,7 +10,7 @@
-
+
diff --git a/examples/206-dotnet-configuration-and-logging/Program.cs b/examples/206-dotnet-configuration-and-logging/Program.cs
index 772ba2262..bf1bdc338 100644
--- a/examples/206-dotnet-configuration-and-logging/Program.cs
+++ b/examples/206-dotnet-configuration-and-logging/Program.cs
@@ -4,7 +4,8 @@
public static class Program
{
- public static async Task Main(string[] args)
+ // ReSharper disable InconsistentNaming
+ public static async Task Main()
{
var openAIConfig = new OpenAIConfig
{
diff --git a/service/Service/Service.csproj b/service/Service/Service.csproj
index 44f6367fd..c29aa1c8f 100644
--- a/service/Service/Service.csproj
+++ b/service/Service/Service.csproj
@@ -12,21 +12,21 @@
-
+
-
+
-
+
-
+
-
+
@@ -62,7 +62,7 @@
all
runtime; build; native; contentfiles; analyzers; buildtransitive
-
+
all
runtime; build; native; contentfiles; analyzers; buildtransitive
diff --git a/tools/docker/Dockerfile b/tools/docker/Dockerfile
index fc343c6f6..5a2b1af10 100644
--- a/tools/docker/Dockerfile
+++ b/tools/docker/Dockerfile
@@ -18,6 +18,7 @@ WORKDIR /build/source/service/Service
RUN \
dotnet build --configuration Release --output /build/output && \
cp ../../tools/docker/content/run.sh /build/output/ && \
+ cp ../../tools/docker/content/setup.sh /build/output/ && \
chmod ugo=r /build/output/*.dll
# Generate data used outside the image to label it
diff --git a/tools/docker/content/setup.sh b/tools/docker/content/setup.sh
new file mode 100644
index 000000000..b40b84b8e
--- /dev/null
+++ b/tools/docker/content/setup.sh
@@ -0,0 +1,9 @@
+#!/usr/bin/env sh
+
+# This script is copied into the Docker image and is used to start Kernel Memory service configuration wizard
+
+set -e
+
+cd /app/
+
+dotnet Microsoft.KernelMemory.ServiceAssembly.dll setup