mangoman7002 commited on
Commit
17882a3
·
verified ·
1 Parent(s): a1420d4

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -17,4 +17,4 @@ WORKDIR $HOME/app
17
  COPY --chown=user . $HOME/app
18
  RUN wget 'https://huggingface.co/ha1772007/qwen2-1.5b-instruct-function-calling-v1-GGUF/resolve/main/qwen2-1.5b-instruct-function-calling-v1.Q2_K%20(1).gguf'
19
  EXPOSE 7860
20
- CMD ["python3", "-m", "llama_cpp.server", "--model", "qwen2-1.5b-instruct-function-calling-v1.Q2_K (1).gguf", "--port", "7860"]
 
17
  COPY --chown=user . $HOME/app
18
  RUN wget 'https://huggingface.co/ha1772007/qwen2-1.5b-instruct-function-calling-v1-GGUF/resolve/main/qwen2-1.5b-instruct-function-calling-v1.Q2_K%20(1).gguf'
19
  EXPOSE 7860
20
+ CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860", "--log-level", "debug"]