Nick Starkov commited on
Commit
0c6ce54
·
1 Parent(s): d8bbba0

Dockerfile cache bug fix

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -4,6 +4,9 @@ FROM python:3.10-slim
4
  # Set the working directory inside the container
5
  WORKDIR /app
6
 
 
 
 
7
  # Copy the requirements file to install dependencies
8
  COPY requirements.txt .
9
 
 
4
  # Set the working directory inside the container
5
  WORKDIR /app
6
 
7
+ # Set Hugging Face cache directory to a writable location
8
+ ENV HF_HOME=/app/.cache
9
+
10
  # Copy the requirements file to install dependencies
11
  COPY requirements.txt .
12