summaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorArtikusHG <artiomoleynic@gmail.com>2022-12-16 19:43:10 +0000
committerGitHub <noreply@github.com>2022-12-16 19:43:10 +0000
commit735e388cec91097cc95bfffd0e1a5e4c25e595ef (patch)
tree61aac219bb9d5d3ce91ce5214171c9170c28502c /Dockerfile
parent1f8f8c1e91040fd10bacdc473b8d5f97dda6424e (diff)
parent2a51c856722df19831c20ba455f74a33180a4ec8 (diff)
Merge branch 'master' into fasttext
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile3
1 files changed, 3 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 66f58395d..ece20c86b 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -36,6 +36,7 @@ RUN apk add --no-cache -t build-dependencies \
su-exec \
python3 \
py3-pip \
+ py3-numpy \
libxml2 \
libxslt \
openssl \
@@ -43,6 +44,8 @@ RUN apk add --no-cache -t build-dependencies \
uwsgi \
uwsgi-python3 \
brotli \
+ && pip3 install --no-cache setuptools wheel \
+ && sed -i s/fasttext-wheel/fasttext/ requirements.txt \
&& pip3 install --no-cache -r requirements.txt \
&& apk del build-dependencies \
&& rm -rf /root/.cache