aboutsummaryrefslogtreecommitdiffstats
path: root/src/ollama_provision/Dockerfile
blob: 4aa439b0f66e94e9841a3d5258b8b05b5c81da25 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
FROM ollama/ollama:latest

ENV DEBIAN_FRONTEND=noninteractive
RUN apt-get update
RUN apt-get --yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confnew" install bash curl jq

ADD ./src/ollama_provision/init_models.sh /init_models.sh
ADD ./src/ollama_provision/entrypoint.sh /entrypoint.sh
RUN chmod 755 /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]
#ENTRYPOINT ["tail", "-f", "/dev/null"] # to debug