File size: 607 Bytes
c9d8964
3ecc90b
 
 
 
 
0258951
 
3ecc90b
e00d95c
3ecc90b
0ea447e
f5bd0b4
5daecc1
dedbcc6
 
b04e88b
 
dedbcc6
56f06ac
 
6aed5a4
8d32ec4
 
6b6234f
 
83a45ce
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
FROM jjanzic/docker-python3-opencv

RUN apt-get update && apt-get install -y --no-install-recommends \
      bzip2 \
      g++ \
      git \
      libgl1-mesa-glx \
      libglib2.0-0 \
      wget \
      && \
    rm -rf /var/lib/apt/lists/*

RUN pip install Cython==0.29.36

RUN git clone https://github.com/Li-Zhaoxi/AAMED.git && \
    cd AAMED/python && \
    python setup.py build_ext --inplace && \
    python setup.py install

# COPY test.py /opt/build/AAMED/python/
# RUN cd /opt/build/AAMED/python && python test.py

COPY . .

RUN pip install -r requirements.txt

CMD ["python", "/opt/build/app.py"]