update Dockerfile to use OLLAMA_HOST

This commit is contained in:
Jeffrey Morgan 2023-07-07 23:43:44 -04:00
parent 0bee4a8c07
commit ea809df196

View file

@ -13,4 +13,5 @@ ARG GROUP=ollama
RUN addgroup -g 1000 $GROUP && adduser -u 1000 -DG $GROUP $USER
USER $USER:$GROUP
ENTRYPOINT ["/bin/ollama"]
ENV OLLAMA_HOST 0.0.0.0
CMD ["serve"]