Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +2 -1
Dockerfile
CHANGED
@@ -35,6 +35,7 @@ ENV HF_HUB_DISABLE_TELEMETRY=1 \
|
|
35 |
|
36 |
# --- Expose default Gradio port ---
|
37 |
EXPOSE 7860
|
38 |
-
|
|
|
39 |
# --- Run app ---
|
40 |
CMD ["python", "app.py"]
|
|
|
35 |
|
36 |
# --- Expose default Gradio port ---
|
37 |
EXPOSE 7860
|
38 |
+
# Create model_cache and tmp with proper ownership
|
39 |
+
RUN mkdir -p /app/model_cache /app/tmp && chown -R 1000:1000 /app
|
40 |
# --- Run app ---
|
41 |
CMD ["python", "app.py"]
|