dockerfile headless
Browse files- Dockerfile +8 -1
Dockerfile
CHANGED
@@ -30,4 +30,11 @@ EXPOSE 8501
|
|
30 |
|
31 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
32 |
|
33 |
-
ENTRYPOINT ["streamlit", "run", "main.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.headless=true", "--server.enableXsrfProtection=false"]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
30 |
|
31 |
HEALTHCHECK CMD curl --fail http://localhost:8501/_stcore/health
|
32 |
|
33 |
+
# ENTRYPOINT ["streamlit", "run", "main.py", "--server.port=8501", "--server.address=0.0.0.0", "--server.headless=true", "--server.enableXsrfProtection=false"]
|
34 |
+
|
35 |
+
CMD streamlit run main.py \
|
36 |
+
--server.port 8501 \
|
37 |
+
--server.headless true \
|
38 |
+
--server.enableCORS false \
|
39 |
+
--server.enableXsrfProtection false \
|
40 |
+
--server.fileWatcherType none
|