commit 9c35e992819a90ea42dd403ff25342c9597ae37c
parent 42f7060b001479c457b816c2c0755b880b2cf0d3
Author: Stefan Koch <programming@stefan-koch.name>
Date: Sat, 14 Oct 2023 11:33:15 +0200
add missing English model download to build
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Dockerfile b/Dockerfile
@@ -20,6 +20,6 @@ WORKDIR /home/nlparrot
USER nlparrot
# after creation of user, so that it downloads into the user home directory
-RUN python -c 'import stanza; [stanza.download(model) for model in ["multilingual", "es", "hr"]]'
+RUN python -c 'import stanza; [stanza.download(model) for model in ["multilingual", "en", "es", "hr"]]'
CMD ["python", "/opt/nlparrot/src/nlparrot/server.py"]