Files
derek 7241839520
Docker Build and Release Upload / build-rocm (push) Canceled after 0s
Docker Build and Release Upload / build-uvicorn (push) Canceled after 0s
Docker Build and Release Upload / build-cuda (push) Canceled after 11s
Allow auto updating
2026-09-03 08:16:02 -07:00

18 lines
367 B
Plaintext

FROM python:3.11-slim
WORKDIR /code
RUN apt-get update && apt-get install git -y && apt-get install curl -y
ARG gitversion
RUN git clone https://github.com/mythrantic/ollama-docker.git
WORKDIR /code/ollama-docker
RUN pip install --no-cache-dir -r requirements.txt
EXPOSE 8000
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]