Update Dockerfile
Browse files- Dockerfile +8 -3
Dockerfile
CHANGED
|
@@ -9,6 +9,11 @@ COPY requirements.txt ./
|
|
| 9 |
COPY app/ ./app/
|
| 10 |
COPY app.py ./
|
| 11 |
RUN pip3 install -r requirements.txt
|
| 12 |
-
EXPOSE
|
| 13 |
-
HEALTHCHECK CMD curl --fail http://localhost:
|
| 14 |
-
ENTRYPOINT ["streamlit", "run", "app.py",
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 9 |
COPY app/ ./app/
|
| 10 |
COPY app.py ./
|
| 11 |
RUN pip3 install -r requirements.txt
|
| 12 |
+
EXPOSE 7860
|
| 13 |
+
HEALTHCHECK CMD curl --fail http://localhost:7860/_stcore/health
|
| 14 |
+
ENTRYPOINT ["streamlit", "run", "app.py", \
|
| 15 |
+
"--server.port=7860", \
|
| 16 |
+
"--server.address=0.0.0.0", \
|
| 17 |
+
"--server.enableCORS=false", \
|
| 18 |
+
"--server.enableXsrfProtection=false", \
|
| 19 |
+
"--server.maxUploadSize=200"]
|