Update Dockerfile
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
@@ -82,6 +82,10 @@ RUN pip install --no-cache-dir --verbose -r requirements.txt
|
|
82 |
# Set a writable cache directory
|
83 |
ENV TRANSFORMERS_CACHE=/app/cache
|
84 |
|
|
|
|
|
|
|
|
|
85 |
# Ensure the cache directory exists
|
86 |
RUN mkdir -p /app/cache
|
87 |
|
|
|
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 |
|