NimrodDev commited on
Commit
cd7e1d5
·
1 Parent(s): b1dc91c

drop build cache scripts – use RAM-only rag

Browse files
Files changed (1) hide show
  1. Dockerfile +0 -10
Dockerfile CHANGED
@@ -11,16 +11,6 @@ WORKDIR /code
11
  COPY requirements.txt .
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
14
- # ---- NEW: pre-cache dataset into /code/.cache ----
15
- COPY cache_ds.py .
16
- RUN python cache_ds.py
17
-
18
- # tell HF/datasets to use the pre-cached dir (read-only at runtime)
19
- ENV HF_DATASETS_OFFLINE=1
20
- ENV HF_DATASETS_CACHE=/code/.cache
21
- ENV TRANSFORMERS_CACHE=/code/.cache
22
- ENV TRANSFORMERS_OFFLINE=1
23
-
24
  # copy app code
25
  COPY . .
26
 
 
11
  COPY requirements.txt .
12
  RUN pip install --no-cache-dir -r requirements.txt
13
 
 
 
 
 
 
 
 
 
 
 
14
  # copy app code
15
  COPY . .
16