File size: 263 Bytes
f402f0e
ae66908
25e446a
 
 
4e6036b
276fdec
 
8b3ebde
 
b60ea9a
f402f0e
ece8092
 
b60ea9a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
FROM python:3.11-slim

RUN mkdir /.ollama

RUN chmod 777 /.ollama

RUN apt-get update && apt-get install git -y && apt-get install curl -y

RUN curl -fsSL https://ollama.com/install.sh | sh

ADD run.sh /

ENV OLLAMA_HOST=0.0.0.0:7860

CMD ["/bin/bash", "/run.sh"]