Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +1 -2
Dockerfile
CHANGED
|
@@ -1,13 +1,12 @@
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
WORKDIR /app
|
|
|
|
| 4 |
COPY requirements.txt .
|
| 5 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 6 |
|
| 7 |
-
# copy app
|
| 8 |
COPY app.py .
|
| 9 |
|
| 10 |
-
# streamlit config for production
|
| 11 |
ENV STREAMLIT_SERVER_ENABLE_CORS=false
|
| 12 |
ENV STREAMLIT_SERVER_ENABLE_XSRF_PROTECTION=false
|
| 13 |
|
|
|
|
| 1 |
FROM python:3.10-slim
|
| 2 |
|
| 3 |
WORKDIR /app
|
| 4 |
+
|
| 5 |
COPY requirements.txt .
|
| 6 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 7 |
|
|
|
|
| 8 |
COPY app.py .
|
| 9 |
|
|
|
|
| 10 |
ENV STREAMLIT_SERVER_ENABLE_CORS=false
|
| 11 |
ENV STREAMLIT_SERVER_ENABLE_XSRF_PROTECTION=false
|
| 12 |
|