forked from choosehappy/QuickAnnotator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
28 lines (22 loc) · 854 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
FROM nvidia/cuda:11.0.3-cudnn8-devel-ubuntu20.04
RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" --no-install-recommends \
build-essential \
cmake \
ca-certificates \
libglib2.0-0 \
libjpeg-dev \
libpng-dev \
python3.8 \
python3.8-dev \
python3-pip \
python3-wheel \
python3-setuptools \
gcc gfortran libopenblas-dev liblapack-dev cython \
sqlite3 \
libsqlite3-dev
# selective copy before ADD: don't rebuild pip-packages for any .py source change
COPY ./requirements.txt /opt/QuickAnnotator/requirements.txt
WORKDIR /opt/QuickAnnotator
RUN pip3 install -r requirements.txt
ADD . /opt/QuickAnnotator
CMD ["python3", "QA.py"]