sharmaaditya2003 commited on
Commit
78294df
·
verified ·
1 Parent(s): 66e18b7

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -22,5 +22,8 @@ COPY . .
22
  # Expose the port Streamlit runs on
23
  EXPOSE 7860
24
 
 
 
 
25
  # Command to run the app
26
  CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"]
 
22
  # Expose the port Streamlit runs on
23
  EXPOSE 7860
24
 
25
+ # This tells the container to look for environment variables
26
+ ENV PYTHONUNBUFFERED=1
27
+
28
  # Command to run the app
29
  CMD ["streamlit", "run", "app.py", "--server.port", "7860", "--server.address", "0.0.0.0"]