-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
executable file
·64 lines (46 loc) · 1.06 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
53
54
55
56
57
58
59
60
#Name: Dockerfile
#Version: 1.0
#Summary: Docker recipe file for smart pipeline
#Author: suxing liu
#Author-email: [email protected]
#Created: 2024-10-29
#USAGE:
#docker build -t test_docker -f Dockerfile .
#docker run -v /input_path:/srv/images -it test_docker
#cd /opt/code/
FROM ubuntu:20.04
LABEL maintainer='Suxing Liu, Wes Bonelli'
COPY ./ /opt/code
WORKDIR /opt/code
RUN apt update
RUN DEBIAN_FRONTEND="noninteractive" apt-get install -y \
build-essential \
aptitude \
libxrandr-dev \
libxinerama-dev \
libxcursor-dev \
libxi-dev \
libboost-all-dev \
python3-setuptools \
python3-pip \
python3 \
libsm6 \
libxext6 \
cmake-gui \
software-properties-common \
nano \
xorg-dev
RUN pip3 install --upgrade pip && \
pip3 install numpy \
matplotlib \
pytest \
open3d \
openpyxl \
opencv-python-headless \
pathlib \
PyYAML \
imutils \
rembg
RUN chmod +x /opt/code/shcmd.sh
ENV PYTHONPATH=$PYTHONPATH:/opt/code/
ENV LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/opt/code/