Joshua Sundance Bailey
commited on
Commit
·
73c8372
1
Parent(s):
0ba8ff6
space fix
Browse files- Dockerfile +7 -1
- docker-compose.yml +2 -1
Dockerfile
CHANGED
@@ -16,5 +16,11 @@ COPY geospatial-data-converter/ /home/appuser/geospatial-data-converter/
|
|
16 |
WORKDIR /workspace
|
17 |
EXPOSE 7860
|
18 |
|
19 |
-
CMD [
|
|
|
|
|
|
|
|
|
|
|
|
|
20 |
#CMD ["/bin/bash"]
|
|
|
16 |
WORKDIR /workspace
|
17 |
EXPOSE 7860
|
18 |
|
19 |
+
CMD [
|
20 |
+
"streamlit", "run",
|
21 |
+
"/home/appuser/geospatial-data-converter/app.py",
|
22 |
+
"--server.port", "7860",
|
23 |
+
"--server.address", "0.0.0.0",
|
24 |
+
"--server.enableXsrfProtection=false"
|
25 |
+
]
|
26 |
#CMD ["/bin/bash"]
|
docker-compose.yml
CHANGED
@@ -11,5 +11,6 @@ services:
|
|
11 |
"streamlit", "run",
|
12 |
"/home/appuser/geospatial-data-converter/app.py",
|
13 |
"--server.port", "${APP_PORT:-7860}",
|
14 |
-
"--server.address", "0.0.0.0"
|
|
|
15 |
]
|
|
|
11 |
"streamlit", "run",
|
12 |
"/home/appuser/geospatial-data-converter/app.py",
|
13 |
"--server.port", "${APP_PORT:-7860}",
|
14 |
+
"--server.address", "0.0.0.0",
|
15 |
+
"--server.enableXsrfProtection=false"
|
16 |
]
|