langchain4j/docker/ollama/tinyllama/Dockerfile

4 lines
162 B
Docker

FROM --platform=$BUILDPLATFORM ollama/ollama:latest
RUN /bin/sh -c "/bin/ollama serve & sleep 1 && ollama pull tinyllama"
ENTRYPOINT ["/bin/ollama"]
CMD ["serve"]