Commit ea809df1 authored by Jeffrey Morgan's avatar Jeffrey Morgan
Browse files

update `Dockerfile` to use OLLAMA_HOST

parent 0bee4a8c
...@@ -13,4 +13,5 @@ ARG GROUP=ollama ...@@ -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"]
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment