Spaces:
Build error
Build error
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
|
@@ -12,6 +12,12 @@ RUN apt-get update && apt-get install -y \
|
|
| 12 |
libglib2.0-0 \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 15 |
# Copy the requirements and install them
|
| 16 |
COPY requirements.txt ./
|
| 17 |
RUN pip3 install -r requirements.txt
|
|
|
|
| 12 |
libglib2.0-0 \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
+
# Set environment variable for Streamlit config
|
| 16 |
+
ENV STREAMLIT_CONFIG=/app/.streamlit
|
| 17 |
+
|
| 18 |
+
# Create the .streamlit directory
|
| 19 |
+
RUN mkdir -p /app/.streamlit
|
| 20 |
+
|
| 21 |
# Copy the requirements and install them
|
| 22 |
COPY requirements.txt ./
|
| 23 |
RUN pip3 install -r requirements.txt
|