24 lines
683 B
Docker
24 lines
683 B
Docker
|
FROM dkimg/opencv:4.5.3-ubuntu
|
||
|
# LABEL maintainer paolo.bolettieri@isti.cnr.it
|
||
|
|
||
|
|
||
|
RUN apt-get update && apt-get install -y --no-install-recommends \
|
||
|
build-essential \
|
||
|
git \
|
||
|
wget \
|
||
|
nano \
|
||
|
unzip
|
||
|
|
||
|
RUN pip install numpy tornado flask-restful pillow numpy matplotlib tqdm scikit-learn h5py requests
|
||
|
ADD . /workspace
|
||
|
|
||
|
WORKDIR /workspace
|
||
|
ENV PYTHONPATH ${PYTHONPATH}:/workspace/src
|
||
|
|
||
|
#RUN ["/bin/bash", "-c", "echo I am using bash"]
|
||
|
|
||
|
#ENTRYPOINT [ "python" ]
|
||
|
#CMD [ "dirtorch/GemService.py", "-g", "0" ]
|
||
|
|
||
|
#ENTRYPOINT [ "sh" ]
|
||
|
#CMD [ "/src/extract_features.sh", "-g", "0" ]
|