Indexer improved documentation, Docker added port expose
This commit is contained in:
@@ -10,7 +10,7 @@ The indexer by default
|
|||||||
(On Linux you might need root privileges, thus use `sudo` where necessary)
|
(On Linux you might need root privileges, thus use `sudo` where necessary)
|
||||||
1. Navigate to the `src` directory
|
1. Navigate to the `src` directory
|
||||||
2. Build the docker container: `docker build -t indexer -f Indexer/Dockerfile .`
|
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
|
## Installing the dependencies
|
||||||
## Ubuntu 24.04
|
## Ubuntu 24.04
|
||||||
|
|||||||
@@ -11,4 +11,5 @@ RUN dotnet publish /src/Indexer/Indexer.csproj -c Release -o /app
|
|||||||
RUN cp -r /src/Indexer/Scripts /app/Scripts
|
RUN cp -r /src/Indexer/Scripts /app/Scripts
|
||||||
RUN rm -r /src
|
RUN rm -r /src
|
||||||
ENV PYTHONIOENCODING=utf8
|
ENV PYTHONIOENCODING=utf8
|
||||||
|
EXPOSE 5120
|
||||||
ENTRYPOINT ["./Indexer"]
|
ENTRYPOINT ["./Indexer"]
|
||||||
Reference in New Issue
Block a user