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

21 lines
505 B

3 years ago
  1. version: "3.4"
  2. services:
  3. deb-rust-rocket:
  4. container_name: "deb-rust-rocket"
  5. command: cargo watch -x 'run --bin rocket-3d'
  6. build:
  7. dockerfile: Dockerfile
  8. context: ../build/deb-rust
  9. cache_from:
  10. - rustlang/rust:nightly
  11. networks:
  12. - library-network
  13. tty: true
  14. wq
  15. volumes:
  16. - type: bind
  17. source: ./
  18. target: /usr/src
  19. ports:
  20. - "5000:5000"