image-recognition/Dockerfile

27 lines
752 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 \
2022-07-08 18:19:41 +02:00
unzip \
sqlite3 \
libsqlite3-dev
2022-06-22 16:19:05 +02:00
2022-06-24 18:12:11 +02:00
RUN pip install numpy tornado flask-restful pillow numpy matplotlib tqdm scikit-learn h5py requests faiss-cpu==1.7.2
2022-06-22 16:19:05 +02:00
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" ]