roshnn24 commited on
Commit
aaf6088
·
verified ·
1 Parent(s): 0264bfa

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +4 -0
Dockerfile CHANGED
@@ -2,6 +2,10 @@ FROM python:3.9-slim
2
 
3
  WORKDIR /code
4
 
 
 
 
 
5
  RUN apt-get update && \
6
  apt-get install -y --no-install-recommends \
7
  build-essential \
 
2
 
3
  WORKDIR /code
4
 
5
+ # Create cache directories with proper permissions
6
+ RUN mkdir -p /tmp/huggingface_cache /tmp/model_cache /tmp/uploads \
7
+ && chmod 777 /tmp/huggingface_cache /tmp/model_cache /tmp/uploads
8
+
9
  RUN apt-get update && \
10
  apt-get install -y --no-install-recommends \
11
  build-essential \