You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

multi-edge-inference-pedestrian-tracking-reid.Dockerfile 697 B

123456789101112131415161718192021222324252627282930313233343536
  1. FROM python:3.8
  2. WORKDIR /home
  3. ## Install git
  4. RUN apt update
  5. # Required by OpenCV
  6. RUN apt install libgl1-mesa-glx -y
  7. RUN apt install -y gfortran libopenblas-dev liblapack-dev
  8. ## Install application dependencies
  9. RUN pip install torch tqdm pillow opencv-python pytorch-ignite
  10. ## Add Kafka Python library
  11. RUN pip install kafka-python
  12. ## Install S3 library
  13. RUN pip install boto3
  14. ## SEDNA SECTION ##
  15. COPY ./lib/requirements.txt /home
  16. RUN pip install -r /home/requirements.txt
  17. ENV PYTHONPATH "${PYTHONPATH}:/home/lib"
  18. WORKDIR /home/work
  19. COPY ./lib /home/lib
  20. COPY examples/multiedgeinference/pedestrian_tracking/reid /home/work/
  21. ENV LOG_LEVEL="INFO"
  22. ENTRYPOINT ["python"]
  23. CMD ["worker.py"]