Update Dockerfile
Browse files- Dockerfile +11 -2
Dockerfile
CHANGED
|
@@ -12,6 +12,15 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 12 |
|
| 13 |
COPY . .
|
| 14 |
|
| 15 |
-
EXPOSE
|
| 16 |
|
| 17 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 12 |
|
| 13 |
COPY . .
|
| 14 |
|
| 15 |
+
EXPOSE 7860
|
| 16 |
|
| 17 |
+
ENV STREAMLIT_SERVER_PORT=7860
|
| 18 |
+
ENV STREAMLIT_SERVER_ADDRESS=0.0.0.0
|
| 19 |
+
ENV STREAMLIT_SERVER_HEADLESS=true
|
| 20 |
+
ENV STREAMLIT_BROWSER_GATHER_USAGE_STATS=false
|
| 21 |
+
|
| 22 |
+
CMD ["streamlit", "run", "app.py", \
|
| 23 |
+
"--server.port=7860", \
|
| 24 |
+
"--server.address=0.0.0.0", \
|
| 25 |
+
"--server.headless=true", \
|
| 26 |
+
"--browser.gatherUsageStats=false"]
|