mednow commited on
Commit
3dfb3b3
·
verified ·
1 Parent(s): 53fa03c

Upload dockerfile

Browse files
Files changed (1) hide show
  1. dockerfile +4 -1
dockerfile CHANGED
@@ -15,9 +15,12 @@ COPY requirements.txt .
15
  # Install Python dependencies
16
  RUN pip install --no-cache-dir -r requirements.txt
17
 
18
- # Download and link the Spacy model inside the container
19
  RUN python -m spacy download en_core_web_sm
20
 
 
 
 
21
  # Copy the rest of the application code into the container
22
  COPY . .
23
 
 
15
  # Install Python dependencies
16
  RUN pip install --no-cache-dir -r requirements.txt
17
 
18
+ # Download the Spacy model and link it
19
  RUN python -m spacy download en_core_web_sm
20
 
21
+ # Verify the Spacy model is correctly installed
22
+ RUN python -c "import spacy; spacy.load('en_core_web_sm')"
23
+
24
  # Copy the rest of the application code into the container
25
  COPY . .
26