Dockerfile 323 B

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