fury-bot / Dockerfile
robinroy03's picture
Update Dockerfile
d41000c verified
raw
history blame
263 Bytes
FROM python:3.11.9
WORKDIR /code
COPY ./requirements.txt /code/requirements.txt
RUN pip install -r /code/requirements.txt
RUN curl -fsSL https://ollama.com/install.sh | sh
RUN ollama serve
RUN ollama run phi3
COPY . .
CMD ["gunicorn", "-w", "20", "main:app"]