VietCat commited on
Commit
6f583aa
·
1 Parent(s): 20688a8

fix cache issue

Browse files
Files changed (1) hide show
  1. Dockerfile +3 -0
Dockerfile CHANGED
@@ -1,5 +1,8 @@
1
  FROM python:3.10-slim
2
 
 
 
 
3
  # Cài thư viện hệ thống cần thiết
4
  RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
5
 
 
1
  FROM python:3.10-slim
2
 
3
+ # Đặt biến môi trường cho cache (sử dụng HF_HOME thay vì TRANSFORMERS_CACHE)
4
+ ENV HF_HOME=/tmp/.cache
5
+
6
  # Cài thư viện hệ thống cần thiết
7
  RUN apt-get update && apt-get install -y git && rm -rf /var/lib/apt/lists/*
8