jdana commited on
Commit
d088cf1
·
verified ·
1 Parent(s): 74adea1

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +5 -4
Dockerfile CHANGED
@@ -82,13 +82,14 @@ RUN pip install --no-cache-dir --verbose -r requirements.txt
82
  # Set a writable cache directory
83
  ENV TRANSFORMERS_CACHE=/app/cache
84
 
85
- # Disable Numba caching
86
- ENV NUMBA_CACHE_DIR=/app/numba_cache
87
- RUN mkdir -p /app/numba_cache
88
 
89
- # Ensure the cache directory exists
 
 
90
  RUN mkdir -p /app/cache
91
 
 
92
  # Download NLTK data
93
  RUN python -m nltk.downloader punkt
94
 
 
82
  # Set a writable cache directory
83
  ENV TRANSFORMERS_CACHE=/app/cache
84
 
85
+ ENV NUMBA_DISABLE_JIT=1
 
 
86
 
87
+
88
+ # Set writable cache directory using HF_HOME
89
+ ENV HF_HOME=/app/cache
90
  RUN mkdir -p /app/cache
91
 
92
+
93
  # Download NLTK data
94
  RUN python -m nltk.downloader punkt
95