ollama-server / Dockerfile.gateway
DeathDaDev's picture
feat: add gateway API for Ollama using Flask and docker-compose
0fa8221
raw
history blame contribute delete
217 Bytes
FROM python:3.10-slim
WORKDIR /app
COPY ./requirements.txt /app/requirements.txt
RUN pip install --no-cache-dir --upgrade -r /app/requirements.txt
COPY ./gateway.py /app/gateway.py
CMD ["python", "./gateway.py"]