Update Dockerfile
Browse files- Dockerfile +1 -1
Dockerfile
CHANGED
@@ -52,5 +52,5 @@ COPY --chown=user . $HOME/app
|
|
52 |
|
53 |
#CMD ["python3", "-m", "app"]
|
54 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
55 |
-
|
56 |
#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"]
|
|
|
52 |
|
53 |
#CMD ["python3", "-m", "app"]
|
54 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
55 |
+
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
|
56 |
#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"]
|