Update Dockerfile
Browse files- Dockerfile +4 -1
Dockerfile
CHANGED
|
@@ -12,13 +12,16 @@ RUN apt-get update && apt-get install -y \
|
|
| 12 |
libomp-dev \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
-
# Upgrade pip
|
| 16 |
RUN pip install --upgrade pip setuptools wheel
|
| 17 |
|
| 18 |
# Install Python deps
|
| 19 |
COPY requirements.txt .
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 21 |
|
|
|
|
|
|
|
|
|
|
| 22 |
# Copy app
|
| 23 |
COPY . .
|
| 24 |
|
|
|
|
| 12 |
libomp-dev \
|
| 13 |
&& rm -rf /var/lib/apt/lists/*
|
| 14 |
|
| 15 |
+
# Upgrade pip
|
| 16 |
RUN pip install --upgrade pip setuptools wheel
|
| 17 |
|
| 18 |
# Install Python deps
|
| 19 |
COPY requirements.txt .
|
| 20 |
RUN pip install --no-cache-dir -r requirements.txt
|
| 21 |
|
| 22 |
+
# Install spaCy English model
|
| 23 |
+
RUN python -m spacy download en_core_web_sm
|
| 24 |
+
|
| 25 |
# Copy app
|
| 26 |
COPY . .
|
| 27 |
|