Elaineyy commited on
Commit
6d22f86
·
verified ·
1 Parent(s): ce2665b

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -0
Dockerfile CHANGED
@@ -1,6 +1,11 @@
1
  # Use an official Python runtime as the base image
2
  FROM python:3.10
3
 
 
 
 
 
 
4
  # Set the working directory in the container
5
  WORKDIR /app
6
 
 
1
  # Use an official Python runtime as the base image
2
  FROM python:3.10
3
 
4
+ # Set environment variables for Hugging Face cache (FIX: Use /tmp)
5
+ ENV TRANSFORMERS_CACHE=/tmp
6
+ ENV HF_HOME=/tmp
7
+ ENV HF_MODULES_CACHE=/tmp
8
+
9
  # Set the working directory in the container
10
  WORKDIR /app
11