abanm commited on
Commit
35ecc4f
·
verified ·
1 Parent(s): 3bfba6d

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +7 -1
Dockerfile CHANGED
@@ -75,4 +75,10 @@ EXPOSE 7860
75
  #
76
  # "ollama serve" runs on default port 11411. We'll run that in the background,
77
  # then run uvicorn on 7860.
78
- CMD [ "sh", "-c", "ollama serve --model https://huggingface.co/abanm/Dubs-Q8_0-GGUF & uvicorn app:app --host 0.0.0.0 --port 7860" ]
 
 
 
 
 
 
 
75
  #
76
  # "ollama serve" runs on default port 11411. We'll run that in the background,
77
  # then run uvicorn on 7860.
78
+ # Copy the entrypoint script into the container
79
+ COPY entrypoint.sh /entrypoint.sh
80
+ RUN chmod +x /entrypoint.sh
81
+
82
+ # Use the entrypoint script to start the services
83
+ CMD ["/entrypoint.sh"]
84
+