mike23415 commited on
Commit
589342e
·
verified ·
1 Parent(s): 27ce70f

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -2
Dockerfile CHANGED
@@ -5,8 +5,8 @@ FROM python:3.9
5
  WORKDIR /app
6
 
7
  # Set environment variables for Hugging Face cache
8
- ENV HF_HOME=/root/.cache/huggingface/
9
- RUN mkdir -p /root/.cache/huggingface/ && chmod -R 777 /root/.cache/huggingface/
10
 
11
  # Install system dependencies
12
  RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
 
5
  WORKDIR /app
6
 
7
  # Set environment variables for Hugging Face cache
8
+ ENV HF_HOME=/app/cache
9
+ RUN mkdir -p /app/cache && chmod -R 777 /app/cache
10
 
11
  # Install system dependencies
12
  RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*