-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathDockerfile
More file actions
32 lines (25 loc) · 754 Bytes
/
Dockerfile
File metadata and controls
32 lines (25 loc) · 754 Bytes
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
FROM nvidia/cuda:10.2-cudnn8-devel-ubuntu18.04
ENV LANG C.UTF-8
ENV LC_ALL C.UTF-8
ENV PYTHONIOENCODING UTF-8
RUN apt-get update && apt-get install -y --no-install-recommends \
build-essential language-pack-ja \
python3 python3-dev python3-pip python3-setuptools \
curl tmux sudo git && \
apt-get clean && \
rm -rf /var/lib/apt/lists/*
RUN pip3 install pip --upgrade
RUN pip3 install setuptools --upgrade
RUN pip3 install poetry
WORKDIR /work
COPY pyproject.toml .
COPY poetry.lock .
COPY pyner ./pyner
RUN poetry install
WORKDIR /tmp
RUN curl https://www.clips.uantwerpen.be/conll2000/chunking/conlleval.txt > conlleval
RUN chmod 777 conlleval
WORKDIR /work
COPY data ./data
COPY config ./config
COPY bin ./bin