Update Dockerfile
Browse files- Dockerfile +2 -3
Dockerfile
CHANGED
@@ -46,6 +46,5 @@ ENV HOME=/home/user \
|
|
46 |
COPY --chown=user . $HOME
|
47 |
|
48 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
49 |
-
|
50 |
-
#ENTRYPOINT ["python3"]
|
51 |
-
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"]
|
|
|
46 |
COPY --chown=user . $HOME
|
47 |
|
48 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
49 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
50 |
+
#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"]
|
|