moriire commited on
Commit
a128d0a
1 Parent(s): a90fe5a

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -54,7 +54,7 @@ COPY --chown=user . $HOME/app
54
  RUN python3 -m pip install --upgrade pip
55
  # Install requirements.txt
56
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
57
- #CMD ["python3", "-m", "app"]
58
  # Start the FastAPI app on port 7860, the default port expected by Spaces
59
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
60
  #ENTRYPOINT ["python3", "-m", "llama_cpp.server", "--hf_model_repo_id", "Qwen/Qwen1.5-0.5B-Chat-GGUF", "--model", "*q4_0.gguf", "--host", "0.0.0.0"]
 
54
  RUN python3 -m pip install --upgrade pip
55
  # Install requirements.txt
56
  RUN pip install --no-cache-dir --upgrade -r requirements.txt
57
+ CMD ["python3", "-m", "main"]
58
  # Start the FastAPI app on port 7860, the default port expected by Spaces
59
+ #CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
60
  #ENTRYPOINT ["python3", "-m", "llama_cpp.server", "--hf_model_repo_id", "Qwen/Qwen1.5-0.5B-Chat-GGUF", "--model", "*q4_0.gguf", "--host", "0.0.0.0"]