Spaces:
Sleeping
Sleeping
jacob-stein
commited on
Commit
·
0526e22
1
Parent(s):
ebe9829
Update Dockerfile to download spaCy module
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -12,6 +12,9 @@ WORKDIR /app
|
|
12 |
COPY --chown=user ./requirements.txt requirements.txt
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
|
|
|
|
|
|
|
15 |
# Copy all application code
|
16 |
COPY --chown=user . /app
|
17 |
|
|
|
12 |
COPY --chown=user ./requirements.txt requirements.txt
|
13 |
RUN pip install --no-cache-dir --upgrade -r requirements.txt
|
14 |
|
15 |
+
# Install SpaCy model
|
16 |
+
RUN python -m spacy download en_core_web_sm
|
17 |
+
|
18 |
# Copy all application code
|
19 |
COPY --chown=user . /app
|
20 |
|