singhdevendra58 commited on
Commit
f69762d
·
verified ·
1 Parent(s): e8418ff

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +8 -0
Dockerfile CHANGED
@@ -1,5 +1,13 @@
1
  FROM python:3.12.7
2
 
 
 
 
 
 
 
 
 
3
  WORKDIR /app
4
 
5
  RUN apt-get update && apt-get install -y \
 
1
  FROM python:3.12.7
2
 
3
+ # Set environment
4
+ ENV HOME=/root
5
+ ENV TRANSFORMERS_CACHE=/app/cache
6
+ ENV HF_HOME=/app/cache
7
+
8
+ # Create writable cache
9
+ RUN mkdir -p /app/cache
10
+
11
  WORKDIR /app
12
 
13
  RUN apt-get update && apt-get install -y \