-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
39 lines (32 loc) · 980 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
34
35
36
37
38
39
FROM ubuntu:18.04
RUN apt-get update && \
apt-get install -y tzdata && \
apt-get install -y \
git \
vim \
tmux \
unzip \
libsndfile-dev \
apt-utils \
python3.8 \
python3.8-dev \
python3-pip \
python3-wheel \
python3-setuptools \
python3-tk && \
apt clean autoclean && \
apt autoremove -y
RUN ln -fns /usr/bin/python3.8 /usr/bin/python && \
ln -fns /usr/bin/python3.8 /usr/bin/python3 && \
ln -fns /usr/bin/pip3 /usr/bin/pip
ENV TZ Asia/Tokyo
ENV LANG ja_JP.UTF-8
RUN apt-get -y install language-pack-ja-base language-pack-ja
RUN pip install --upgrade pip && \
pip install --upgrade setuptools
RUN python3 -m pip install --user nltk numpy scipy matplotlib scikit-learn pandas plotly tqdm torch transformers tensorflow metric-learn pytest simplemma
RUN python3 -m nltk.downloader -d /usr/local/share/nltk_data all
WORKDIR /work
COPY src/ /work/src/
COPY data/ /work/data/
COPY models/ /work/models/