Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +3 -1
Dockerfile
CHANGED
|
@@ -12,9 +12,11 @@ WORKDIR /code
|
|
| 12 |
COPY requirements.txt .
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 14 |
|
|
|
|
|
|
|
|
|
|
| 15 |
# [YENİ EKLEME] Hugging Face modelleri için yazılabilir bir cache dizini ayarla
|
| 16 |
ENV HF_HOME /tmp/hf_cache
|
| 17 |
-
ENV NUMBA_DISABLE_CACHING 1
|
| 18 |
|
| 19 |
# Proje dosyalarının geri kalanını kopyala
|
| 20 |
COPY . .
|
|
|
|
| 12 |
COPY requirements.txt .
|
| 13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
| 14 |
|
| 15 |
+
ENV NUMBA_CACHE_DIR=/tmp/numba_cache
|
| 16 |
+
RUN mkdir -p /tmp/numba_cache && chmod 777 /tmp/numba_cache
|
| 17 |
+
|
| 18 |
# [YENİ EKLEME] Hugging Face modelleri için yazılabilir bir cache dizini ayarla
|
| 19 |
ENV HF_HOME /tmp/hf_cache
|
|
|
|
| 20 |
|
| 21 |
# Proje dosyalarının geri kalanını kopyala
|
| 22 |
COPY . .
|