win2win commited on
Commit
4d66bcb
·
verified ·
1 Parent(s): 3e93ea5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -1
Dockerfile CHANGED
@@ -1,9 +1,11 @@
1
  FROM python:3.9-slim
2
 
 
 
 
3
  WORKDIR /app
4
  COPY . .
5
 
6
  RUN pip install --no-cache-dir -r requirements.txt
7
 
8
- EXPOSE 8000
9
  CMD ["python", "app.py"]
 
1
  FROM python:3.9-slim
2
 
3
+ # Create cache directory and set permissions
4
+ RUN mkdir -p /tmp/huggingface_cache && chmod 777 /tmp/huggingface_cache
5
+
6
  WORKDIR /app
7
  COPY . .
8
 
9
  RUN pip install --no-cache-dir -r requirements.txt
10
 
 
11
  CMD ["python", "app.py"]