Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- 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"]
|