Skip to content

Commit 81d322c

Browse files
committed
env
1 parent c757f7c commit 81d322c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Dockerfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@ COPY --chown=$USERNAME transformers/ ./transformers
3737
# Stock version of pip doesn't work with editable transformers.
3838
RUN pip install --upgrade pip --no-cache-dir && pip install -r requirements.txt --no-cache-dir
3939

40+
ENV HUGGINGFACE_HUB_CACHE=/app/data/.hf_cache/
41+
4042
COPY --chown=$USERNAME Makefile .
4143
COPY --chown=$USERNAME src/ ./src
4244
COPY --chown=$USERNAME scripts/ ./scripts

0 commit comments

Comments
 (0)