Spaces:
Sleeping
Sleeping
Update Dockerfile
Browse files- Dockerfile +6 -0
Dockerfile
CHANGED
@@ -12,6 +12,12 @@ ENV HOME=/home/user \
|
|
12 |
# Run the download
|
13 |
RUN python /app/download_model.py
|
14 |
|
|
|
|
|
|
|
|
|
|
|
|
|
15 |
# Set the working directory in the container
|
16 |
WORKDIR /app/src
|
17 |
|
|
|
12 |
# Run the download
|
13 |
RUN python /app/download_model.py
|
14 |
|
15 |
+
# download spacy model
|
16 |
+
RUN python3 -m spacy download en_core_web_sm
|
17 |
+
|
18 |
+
# download nltk punkt and stopwords
|
19 |
+
RUN python3 -c "import nltk; nltk.download('punkt'); nltk.download('stopwords')"
|
20 |
+
|
21 |
# Set the working directory in the container
|
22 |
WORKDIR /app/src
|
23 |
|