Update Dockerfile
Browse files- Dockerfile +2 -2
Dockerfile
CHANGED
@@ -43,7 +43,7 @@ ENV HOME=/home/user \
|
|
43 |
|
44 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
45 |
COPY --chown=user . $HOME
|
46 |
-
CMD ["python3", "-m", "app"]
|
47 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
48 |
-
|
49 |
#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"]
|
|
|
43 |
|
44 |
# Copy the current directory contents into the container at $HOME/app setting the owner to the user
|
45 |
COPY --chown=user . $HOME
|
46 |
+
#CMD ["python3", "-m", "app"]
|
47 |
# Start the FastAPI app on port 7860, the default port expected by Spaces
|
48 |
+
CMD ["uvicorn", "app:app", "--host", "0.0.0.0", "--port", "7860"]
|
49 |
#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"]
|