Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -16,7 +16,7 @@ WORKDIR /app
|
|
| 16 |
# Requirements file copy
|
| 17 |
COPY requirements.txt .
|
| 18 |
|
| 19 |
-
# Streamlit install karna
|
| 20 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
| 21 |
|
| 22 |
# Baaki files copy
|
|
@@ -28,5 +28,5 @@ RUN chmod -R 777 /app
|
|
| 28 |
# Port expose
|
| 29 |
EXPOSE 7860
|
| 30 |
|
| 31 |
-
#
|
| 32 |
-
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0"]
|
|
|
|
| 16 |
# Requirements file copy
|
| 17 |
COPY requirements.txt .
|
| 18 |
|
| 19 |
+
# Streamlit install karna
|
| 20 |
RUN pip3 install --no-cache-dir -r requirements.txt
|
| 21 |
|
| 22 |
# Baaki files copy
|
|
|
|
| 28 |
# Port expose
|
| 29 |
EXPOSE 7860
|
| 30 |
|
| 31 |
+
# 👇 ASAL TABDEELI YAHAN HAI (CORS aur XSRF disable kiya hai)
|
| 32 |
+
CMD ["streamlit", "run", "app.py", "--server.port=7860", "--server.address=0.0.0.0", "--server.enableCORS=false", "--server.enableXsrfProtection=false", "--server.maxUploadSize=200"]
|