fgh
Browse files- 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 |
-
|
| 14 |
-
RUN
|
| 15 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 16 |
-
RUN ollama list
|
| 17 |
COPY --chown=ollama . /app
|
| 18 |
-
CMD ["
|
| 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
|