makkzone commited on
Commit
c43c0bb
·
verified ·
1 Parent(s): 4d55dfd

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -3
Dockerfile CHANGED
@@ -19,8 +19,8 @@ RUN pip install --no-cache-dir --upgrade -r requirements.txt
19
  # Copy the app code
20
  COPY --chown=user . .
21
 
22
- # Expose Streamlit port (8501 is default for HF Spaces Streamlit)
23
  EXPOSE 8501
24
 
25
- # Command to run Ollama and Streamlit
26
- CMD ["sh", "-c", "ollama serve & sleep 5 && ollama pull llama3.2 && streamlit run app.py --server.port 8501 --server.address 0.0.0.0"]
 
19
  # Copy the app code
20
  COPY --chown=user . .
21
 
22
+ # Expose Streamlit port
23
  EXPOSE 8501
24
 
25
+ # Use the startup script
26
+ CMD ["./start.sh"]