update Dockerfile
to use OLLAMA_HOST
This commit is contained in:
parent
0bee4a8c07
commit
ea809df196
1 changed files with 1 additions and 0 deletions
|
@ -13,4 +13,5 @@ ARG GROUP=ollama
|
||||||
RUN addgroup -g 1000 $GROUP && adduser -u 1000 -DG $GROUP $USER
|
RUN addgroup -g 1000 $GROUP && adduser -u 1000 -DG $GROUP $USER
|
||||||
USER $USER:$GROUP
|
USER $USER:$GROUP
|
||||||
ENTRYPOINT ["/bin/ollama"]
|
ENTRYPOINT ["/bin/ollama"]
|
||||||
|
ENV OLLAMA_HOST 0.0.0.0
|
||||||
CMD ["serve"]
|
CMD ["serve"]
|
||||||
|
|
Loading…
Reference in a new issue