-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathDockerfile
executable file
·52 lines (45 loc) · 1.69 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# ==================================================================
# module list
# ------------------------------------------------------------------
# python 3.6 (apt)
# pytorch latest (pip)
# ==================================================================
FROM ufoym/deepo:pytorch-py36-cu100
# ==================================================================
# Set the working directory
# ------------------------------------------------------------------
WORKDIR /VDN
# =================================================================
# Define environment variable
# -----------------------------------------------------------------
ENV LANG C.UTF-8
ENV PYTHONPATH="$PYTHONPATH:/VDN"
# ==================================================================
# Make port available to the world outside this container
# ------------------------------------------------------------------
EXPOSE 80
# ==================================================================
# Install dependences of OpenCV
# ------------------------------------------------------------------
RUN apt-get update && apt-get install -y \
libsm6 \
libxext6 \
libxrender-dev \
libsndfile1 \
&& rm -rf /var/lib/apt/lists/*
# ==================================================================
# Install useful tools
# ------------------------------------------------------------------
RUN python -m pip --no-cache-dir install --upgrade \
opencv-python==3.4.2.16 \
opencv-contrib-python==3.4.2.16 \
torchsnooper \
tensorboard \
tqdm \
terminaltables \
pycocotools \
imageio \
easydict \
pathlib2 \
scikit-image \
imutils \