image-recognition/Dockerfile

27 lines
752 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 \
sqlite3 \
libsqlite3-dev
RUN pip install numpy tornado flask-restful pillow numpy matplotlib tqdm scikit-learn h5py requests faiss-cpu==1.7.2
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" ]