Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -43,5 +43,6 @@ RUN chmod -R 777 /app/llama.cpp
|
|
43 |
EXPOSE 8080
|
44 |
|
45 |
# Adjust the CMD to use the absolute path of the server executable
|
46 |
-
CMD ["/app/llama.cpp/server", "-m", "/app/llama.cpp/models/7B/qwen7b-q4_0.gguf", "-c", "16000", "--host", "0.0.0.0", "--port", "8000"]
|
47 |
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
|
|
|
43 |
EXPOSE 8080
|
44 |
|
45 |
# Adjust the CMD to use the absolute path of the server executable
|
46 |
+
# CMD ["/app/llama.cpp/server", "-m", "/app/llama.cpp/models/7B/qwen7b-q4_0.gguf", "-c", "16000", "--host", "0.0.0.0", "--port", "8000"]
|
47 |
# CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8000"]
|
48 |
+
CMD ["python3", "-m", "llama_cpp.server", "--model", "/app/llama.cpp/models/7B/qwen7b-q4_0.gguf", "--host", "0.0.0.0", "--port", "8000"]
|