Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -16,6 +16,10 @@ RUN pip install --no-cache-dir -r requirements.txt
|
|
| 16 |
# Copy application code
|
| 17 |
COPY . .
|
| 18 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 19 |
# Expose Streamlit default port
|
| 20 |
EXPOSE 8501
|
| 21 |
|
|
|
|
| 16 |
# Copy application code
|
| 17 |
COPY . .
|
| 18 |
|
| 19 |
+
# Ensure output directory exists and is writable
|
| 20 |
+
RUN mkdir -p output \
|
| 21 |
+
&& chmod -R 777 output
|
| 22 |
+
|
| 23 |
# Expose Streamlit default port
|
| 24 |
EXPOSE 8501
|
| 25 |
|