Spaces:
Sleeping
Sleeping
Romain Graux
commited on
Commit
·
55a3ffc
1
Parent(s):
0a7969d
disable xsrf protection
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -10,4 +10,7 @@ COPY --chown=user ./spock /app/spock
|
|
| 10 |
RUN pip install --no-cache-dir --upgrade -e /app/spock
|
| 11 |
|
| 12 |
COPY --chown=user . /app
|
| 13 |
-
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
RUN pip install --no-cache-dir --upgrade -e /app/spock
|
| 11 |
|
| 12 |
COPY --chown=user . /app
|
| 13 |
+
|
| 14 |
+
USER user
|
| 15 |
+
EXPOSE 8501
|
| 16 |
+
CMD ["streamlit", "run", "/app/app.py", "--server.port", "8501", "--server.enableXsrfProtection", "false"]
|