norhan12 commited on
Commit
b5dfad3
·
verified ·
1 Parent(s): 48b18c5

Update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -0
Dockerfile CHANGED
@@ -41,6 +41,8 @@ USER appuser
41
  # 7. Install Python dependencies as non-root user
42
  USER appuser
43
  RUN pip install --upgrade pip && \
 
 
44
  pip install --no-cache-dir --prefer-binary -r requirements.txt && \
45
  python -m spacy download en_core_web_sm
46
  # --- OPTIMIZATION: Copy the rest of the code AFTER dependencies are installed ---
 
41
  # 7. Install Python dependencies as non-root user
42
  USER appuser
43
  RUN pip install --upgrade pip && \
44
+ pip install Cython==0.29.36 && \
45
+ pip install --no-build-isolation youtokentome==1.0.6 && \
46
  pip install --no-cache-dir --prefer-binary -r requirements.txt && \
47
  python -m spacy download en_core_web_sm
48
  # --- OPTIMIZATION: Copy the rest of the code AFTER dependencies are installed ---