Update Dockerfile
Browse files- Dockerfile +3 -0
Dockerfile
CHANGED
@@ -11,5 +11,8 @@ COPY . /app
|
|
11 |
# Install production dependencies.
|
12 |
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
|
|
|
|
|
|
|
14 |
# Run the web service on container startup.
|
15 |
CMD exec streamlit run app.py --server.enableCORS false --server.port $PORT
|
|
|
11 |
# Install production dependencies.
|
12 |
RUN pip install --no-cache-dir -r requirements.txt
|
13 |
|
14 |
+
# Download the Spanish model for spaCy
|
15 |
+
RUN python -m spacy download es_core_news_sm
|
16 |
+
|
17 |
# Run the web service on container startup.
|
18 |
CMD exec streamlit run app.py --server.enableCORS false --server.port $PORT
|