Bahodir Nematjonov commited on
Commit
accc9aa
·
1 Parent(s): 4fb1c18
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -24,4 +24,5 @@ WORKDIR $HOME/app
24
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
25
  COPY --chown=user . $HOME/app
26
 
27
- CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "7860"]
 
 
24
  # Copy the current directory contents into the container at $HOME/app setting the owner to the user
25
  COPY --chown=user . $HOME/app
26
 
27
+ CMD ollama serve > /tmp/ollama.log 2>&1 & uvicorn main:app --host 0.0.0.0 --port 7860
28
+