TruVlad commited on
Commit
6cb4a56
·
verified ·
1 Parent(s): 95bb3fd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -5
Dockerfile CHANGED
@@ -1,7 +1,7 @@
1
  # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2
  # you will also find guides on how best to write your Dockerfile
3
 
4
- FROM python:3.13
5
 
6
  RUN useradd -m -u 1000 ollama
7
  USER ollama
@@ -16,7 +16,4 @@ 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"," --port=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
 
1
  # Read the doc: https://huggingface.co/docs/hub/spaces-sdks-docker
2
  # you will also find guides on how best to write your Dockerfile
3
 
4
+ FROM python:3.12
5
 
6
  RUN useradd -m -u 1000 ollama
7
  USER ollama
 
16
  COPY --chown=ollama . /app
17
 
18
  EXPOSE 7860
19
+ CMD ["python3", "-m flask"]