image-recognition/Dockerfile

24 lines
683 B
Docker
Raw Normal View History

2022-06-22 16:19:05 +02:00
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" ]