Skip to content

Commit df8bc82

Browse files
committed
image: set default TCP port
When running as a container, we'll always want to listen on TCP, so we'll set the default port to match the standard model runner default. Signed-off-by: Jacob Howard <jacob.howard@docker.com>
1 parent 96af7b7 commit df8bc82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ USER modelrunner
6060

6161
# Set the environment variable for the socket path and LLaMA server binary path
6262
ENV MODEL_RUNNER_SOCK=/var/run/model-runner/model-runner.sock
63+
ENV MODEL_RUNNER_PORT=12434
6364
ENV LLAMA_SERVER_PATH=/app/bin
6465
ENV HOME=/home/modelrunner
6566
ENV MODELS_PATH=/models

0 commit comments

Comments
 (0)