-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile
executable file
·67 lines (50 loc) · 1.12 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
61
62
63
64
#Name: Dockerfile
#Version: 1.0
#Summary: Docker recipe file for smart_release pipeline
#Author: suxing liu
#Author-email: [email protected]
#Created: 2025-01-29
#USAGE:
#docker build -t test_docker -f Dockerfile .
#docker run -v /input:/images -it test_docker
#cd /opt/smart/
#python3 /opt/code/smart_release.py -p /input/ -o /output/
FROM ubuntu:20.04
LABEL maintainer='Suxing Liu, Wes Bonelli'
COPY ./ /opt/code
RUN apt-get update && apt-get upgrade -y
RUN DEBIAN_FRONTEND="noninteractive" TZ="America/New_York" apt-get install -y \
build-essential \
python3-setuptools \
python3-pip \
python3 \
libgl1-mesa-glx \
libsm6 \
libxext6 \
cmake-gui \
nano \
libdmtx0b
RUN python3 -m pip install --upgrade pip
RUN pip3 install numpy \
Pillow \
scipy \
scikit-image==0.19.3 \
scikit-learn\
matplotlib \
pandas \
pytest \
opencv-python-headless \
openpyxl \
imutils \
numba \
skan \
tabulate \
pylibdmtx \
psutil \
natsort \
pathlib \
kmeans1d \
rembg \
onnxruntime
RUN chmod -R a+rwx /opt/code/
WORKDIR /opt/code/