forked from wikimedia/revscoring
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
33 lines (27 loc) · 777 Bytes
/
Dockerfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Dockerfile for building a Docker container. See https://www.docker.com/
# Install wikimedia runscoring, with dependencies
# See: https://github.com/wiki-ai/revscoring
# Build via docker build --rm -t nealmcb/revscoring:0.3 .
FROM jupyter/notebook
RUN DEBIAN_FRONTEND=noninteractive apt-get update && DEBIAN_FRONTEND=noninteractive apt-get upgrade -y
RUN DEBIAN_FRONTEND=noninteractive apt-get install -y \
python3-dev \
python3-numpy \
python3-scipy \
g++ \
gfortran \
liblapack-dev \
libopenblas-dev \
myspell-pt \
myspell-fa \
myspell-en-au \
myspell-en-gb \
myspell-en-us \
myspell-en-za \
myspell-fr \
myspell-es \
myspell-he \
hunspell-vi \
aspell-id
RUN pip3 install --user revscoring
RUN python3 -m nltk.downloader stopwords