File size: 179 Bytes
1d2e069
8af09d7
360362a
8af09d7
1d2e069
 
0fb8e0d
1d2e069
 
1
2
3
4
5
6
7
8
9
FROM ollama/ollama

RUN mkdir -p /.ollama && chmod 777 /.ollama

ENV OLLAMA_MAX_LOADED_MODELS=20 --OLLAMA_NUM_PARALLEL=20
ENV OLLAMA_HOST "0.0.0.0:7860"

CMD ["serve"]
EXPOSE 7860