KJ24 commited on
Commit
cfc49da
·
verified ·
1 Parent(s): 3ecd005

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +6 -3
Dockerfile CHANGED
@@ -42,9 +42,6 @@ RUN pip uninstall -y sentence-transformers && pip install sentence-transformers=
42
 
43
  # ===== INSTALLATION DÉPENDANCES SYSTÈME MINIMALES =====
44
 
45
-
46
- RUN apt-get update && apt-get install -y git
47
-
48
  RUN apt-get update && apt-get install -y --no-install-recommends \
49
  build-essential \
50
  git \
@@ -53,6 +50,12 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
53
  && rm -rf /tmp/* \
54
  && rm -rf /var/tmp/*
55
 
 
 
 
 
 
 
56
  # ===== CRÉATION DOSSIERS CACHE =====
57
  RUN mkdir -p /app/cache/huggingface \
58
  && mkdir -p /app/cache/transformers \
 
42
 
43
  # ===== INSTALLATION DÉPENDANCES SYSTÈME MINIMALES =====
44
 
 
 
 
45
  RUN apt-get update && apt-get install -y --no-install-recommends \
46
  build-essential \
47
  git \
 
50
  && rm -rf /tmp/* \
51
  && rm -rf /var/tmp/*
52
 
53
+ RUN pip install -r requirements.txt
54
+
55
+ RUN git clone https://github.com/chonkie-inc/chonkie.git /tmp/chonkie && \
56
+ pip install /tmp/chonkie
57
+
58
+
59
  # ===== CRÉATION DOSSIERS CACHE =====
60
  RUN mkdir -p /app/cache/huggingface \
61
  && mkdir -p /app/cache/transformers \