EXPOSE 7860
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -14,7 +14,9 @@ COPY --chown=user ./requirements.txt requirements.txt
|
|
| 14 |
RUN pip install --upgrade pip
|
| 15 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 16 |
COPY --chown=ollama . /app
|
| 17 |
-
|
|
|
|
|
|
|
| 18 |
|
| 19 |
#CMD ["python3", "-m flask --app hello run --host=0.0.0.0 --port=7860"]
|
| 20 |
#CMD poetry run uvicorn --host=0.0.0.0 app.main:app
|
|
|
|
| 14 |
RUN pip install --upgrade pip
|
| 15 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 16 |
COPY --chown=ollama . /app
|
| 17 |
+
|
| 18 |
+
EXPOSE 7860
|
| 19 |
+
CMD ["python3", "-m flask --app hello","run"," --host=0.0.0.0:7860"]
|
| 20 |
|
| 21 |
#CMD ["python3", "-m flask --app hello run --host=0.0.0.0 --port=7860"]
|
| 22 |
#CMD poetry run uvicorn --host=0.0.0.0 app.main:app
|