- FROM debian:bookworm-slim
- RUN apt-get update && \
- apt-get install -y --no-install-recommends ca-certificates curl unzip bash && \
- rm -rf /var/lib/apt/lists/*
- RUN curl -fsSL https://ollama.com/install.sh | sh
- COPY entrypoint.sh /tmp/entrypoint.sh
- RUN chmod +x /tmp/entrypoint.sh
- ENTRYPOINT ["/tmp/entrypoint.sh"]
|