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.

README.md 1.1 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. # slim Dora Docker Environment
  2. This Dockerfile provides a slim environment for running Dora applications with Python and uv package manager.
  3. ## What's Included
  4. - Python 3.12
  5. - Rust (required for Dora)
  6. - uv package manager
  7. - Latest Dora release
  8. ## Building the Image
  9. ```bash
  10. docker build . -t dora-slim
  11. ```
  12. ## Running the Container
  13. ```bash
  14. docker run -it --rm --device=/dev/video0 dora-slim
  15. ```
  16. ## Running not in interactive
  17. ```bash
  18. docker run --rm dora-slim dora --help
  19. ```
  20. ## Running with privilege as well as USB connection
  21. ```bash
  22. docker run --rm --device=/dev/video0 dora-slim dora --help
  23. ```
  24. ## Usage
  25. Once inside the container, you can:
  26. ```bash
  27. ## Create a virtual environment
  28. uv venv --seed -p 3.11
  29. ## Install nodes dependencies of a remote graph
  30. dora build https://raw.githubusercontent.com/dora-rs/dora/refs/heads/main/examples/object-detection/yolo.yml --uv
  31. ## Run yolo graph
  32. dora run yolo.yml --uv
  33. ```
  34. This container is designed to provide a consistent environment for Dora development without requiring complex setup on the host machine.