AshDavid12 commited on
Commit
aad72ce
·
1 Parent(s): 251c69c

trying to build simple trasncribe - testing

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -4,6 +4,11 @@ from python:3.11.1-buster
4
  # Set the working directory
5
  WORKDIR /
6
 
 
 
 
 
 
7
 
8
  # Copy the requirements.txt file and install the dependencies
9
  COPY requirements.txt .
 
4
  # Set the working directory
5
  WORKDIR /
6
 
7
+ # Create a writable cache directory for Hugging Face
8
+ RUN mkdir -p /app/hf_cache && chmod -R 777 /app/hf_cache
9
+
10
+ # Set the environment variable for the Hugging Face cache
11
+ ENV TRANSFORMERS_CACHE=/app/hf_cache
12
 
13
  # Copy the requirements.txt file and install the dependencies
14
  COPY requirements.txt .