modified the env

This commit is contained in:
Gormery Kombo Wanjiru
2024-02-12 21:22:40 +00:00
parent 41f7d73acd
commit 36e41673bf
20 changed files with 585 additions and 581 deletions

View File

@@ -1,13 +1,17 @@
FROM python:3.11-slim
WORKDIR /code
COPY ./requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY ./src ./src
EXPOSE 8000
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]
FROM python:3.11-slim
WORKDIR /code
COPY ./requirements.txt ./
RUN apt-get update && apt-get install git -y && apt-get install curl -y
RUN curl -fsSL https://ollama.com/install.sh | sh
RUN pip install --no-cache-dir -r requirements.txt
COPY ./src ./src
EXPOSE 8000
CMD ["uvicorn", "src.main:app", "--host", "0.0.0.0", "--port", "8000", "--reload"]