Indexer improved documentation, Docker added port expose

This commit is contained in:
2025-06-15 20:50:57 +02:00
parent b448c2c071
commit 9fa6704417
2 changed files with 2 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ The indexer by default
(On Linux you might need root privileges, thus use `sudo` where necessary)
1. Navigate to the `src` directory
2. Build the docker container: `docker build -t indexer -f Indexer/Dockerfile .`
3. Run the docker container: `docker run -t indexer` (the `-t` is optional, but you get more meaningful output)
3. Run the docker container: `docker run --net=host -t indexer` (the `-t` is optional, but you get more meaningful output)
## Installing the dependencies
## Ubuntu 24.04

View File

@@ -11,4 +11,5 @@ RUN dotnet publish /src/Indexer/Indexer.csproj -c Release -o /app
RUN cp -r /src/Indexer/Scripts /app/Scripts
RUN rm -r /src
ENV PYTHONIOENCODING=utf8
EXPOSE 5120
ENTRYPOINT ["./Indexer"]