fjenett's picture
Update Dockerfile
37ed013
raw
history blame
791 Bytes
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
RUN mkdir examples && \
cd examples && \
for i in [1..12]; do wget https://raw.githubusercontent.com/memory-overflow/standard-ellipse-detection/master/images/test$i.jpg; done
CMD ["python", "/opt/build/app.py"]