David Vaillant commited on
Commit
5d3d22f
1 Parent(s): 47b6c2c
Files changed (1) hide show
  1. Dockerfile +1 -1
Dockerfile CHANGED
@@ -2,7 +2,6 @@ FROM python:3.11
2
 
3
  WORKDIR /code
4
 
5
- ENV TRANSFORMERS_CACHE=/code/cache
6
  COPY ./requirements.txt /code/requirements.txt
7
 
8
  RUN apt update
@@ -11,6 +10,7 @@ RUN pip install --no-cache-dir --upgrade numpy
11
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
12
 
13
  COPY . .
 
14
 
15
  EXPOSE 7860
16
 
 
2
 
3
  WORKDIR /code
4
 
 
5
  COPY ./requirements.txt /code/requirements.txt
6
 
7
  RUN apt update
 
10
  RUN pip install --no-cache-dir --upgrade -r /code/requirements.txt
11
 
12
  COPY . .
13
+ ENV HF_HOME=/code/.cache
14
 
15
  EXPOSE 7860
16