RajendrakumarPachaiappan commited on
Commit
fd47b01
·
verified ·
1 Parent(s): f17b126

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. DockerFile +3 -3
DockerFile CHANGED
@@ -15,6 +15,6 @@ COPY app.py .
15
  # Expose the port Streamlit runs on
16
  EXPOSE 8501
17
 
18
- # Set the entry point to run the Streamlit application
19
- ENTRYPOINT ["streamlit", "run"]
20
- CMD ["app.py"]
 
15
  # Expose the port Streamlit runs on
16
  EXPOSE 8501
17
 
18
+ # CRITICAL FIX: Use CMD to combine the execution command and filename
19
+ # This ensures 'streamlit run app.py' is executed upon container start.
20
+ CMD ["streamlit", "run", "app.py"]