forked from catalyst-team/catalyst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile-dev
32 lines (28 loc) · 875 Bytes
/
Dockerfile-dev
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 pytorch/pytorch:1.3-cuda10.1-cudnn7-devel
RUN apt-get update && apt-get install -y \
build-essential \
libsm6 \
libxext6 \
libfontconfig1 \
libxrender1 \
libswscale-dev \
libtbb2 \
libtbb-dev \
libjpeg-dev \
libpng-dev \
libtiff-dev \
libjasper-dev \
libavformat-dev \
libpq-dev \
libturbojpeg \
software-properties-common \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
CMD mkdir -p /workspace
COPY requirements/ /workspace/
RUN pip install -r /workspace/requirements.txt --no-cache-dir \
&& pip install -r /workspace/requirements-rl.txt --no-cache-dir \
&& pip install -r /workspace/requirements-dl.txt --no-cache-dir \
&& pip install -r /workspace/requirements-contrib.txt --no-cache-dir \
&& pip install -r /workspace/requirements-dev.txt --no-cache-dir
WORKDIR /workspace