abdullah-khaled commited on
Commit
4998fbf
·
1 Parent(s): 18e1b50

update Dockerfile

Browse files
Files changed (1) hide show
  1. Dockerfile +2 -1
Dockerfile CHANGED
@@ -18,7 +18,8 @@ COPY requirements.txt .
18
 
19
  # Upgrade pip and install dependencies as root
20
  RUN pip install --no-cache-dir --upgrade pip && \
21
- pip install --no-cache-dir -r requirements.txt
 
22
 
23
  # Create a non-root user with UID 1000
24
  RUN useradd -m -u 1000 user
 
18
 
19
  # Upgrade pip and install dependencies as root
20
  RUN pip install --no-cache-dir --upgrade pip && \
21
+ pip install --no-cache-dir -r requirements.txt && \
22
+ python -m spacy download en_core_web_sm
23
 
24
  # Create a non-root user with UID 1000
25
  RUN useradd -m -u 1000 user