TruVlad commited on
Commit
0b92dc4
·
verified ·
1 Parent(s): f214c48
Files changed (1) hide show
  1. Dockerfile +3 -4
Dockerfile CHANGED
@@ -10,10 +10,9 @@ ENV PATH="/home/user/.local/bin:$PATH"
10
  WORKDIR /app
11
 
12
  COPY --chown=user ./requirements.txt requirements.txt
13
- RUN apt install curl
14
- RUN curl -fsSL https://ollama.com/install.sh | sh
15
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
16
- RUN ollama list
17
  COPY --chown=ollama . /app
18
- CMD ["ollama", "serve"]
19
  #CMD poetry run uvicorn --host=0.0.0.0 app.main:app
 
10
  WORKDIR /app
11
 
12
  COPY --chown=user ./requirements.txt requirements.txt
13
+
14
+ RUN pip install --upgrade pip
15
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
 
16
  COPY --chown=ollama . /app
17
+ CMD ["python3", "app.py"]
18
  #CMD poetry run uvicorn --host=0.0.0.0 app.main:app