From 87f644bebb7497942f829a73da92cabef80e9185 Mon Sep 17 00:00:00 2001 From: LD-Reborn Date: Sat, 12 Jul 2025 22:55:56 +0200 Subject: [PATCH] Added docker installation reference --- docs/Server.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/Server.md b/docs/Server.md index 6f7a4da..91bdfe8 100644 --- a/docs/Server.md +++ b/docs/Server.md @@ -6,6 +6,11 @@ The server by default - Uses Elmah error logging (endpoint: `/elmah`, local files: `~/logs`) - Uses serilog logging (local files: `~/logs`) - Uses HealthChecks (endpoint: `/healthz`) +## Docker installation +(On Linux you might need root privileges, thus use `sudo` where necessary) +1. Navigate to the `src/server` directory +2. Build the docker container: `docker build -t embeddingsearch-server -f /Dockerfile .` +3. Run the docker container: `docker run --net=host -t embeddingsearch-server` (the `-t` is optional, but you get more meaningful output. Or use `-d` to run it in the background) # Installing the dependencies ## Ubuntu 24.04 1. Install the .NET SDK: `sudo apt update && sudo apt install dotnet-sdk-8.0 -y`