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.

10 lines
417 B

3 years ago
  1. local_build:
  2. docker build -t rocket_local_dev -f Dockerfile .
  3. local_run:
  4. docker run --rm -it -p 5000:5000 --mount source="$(shell pwd)",target=/usr/src,type=bind --name rocket-server rocket_local_dev cargo watch -x 'run --bin rocket-3d'
  5. local_stop:
  6. docker stop rocket
  7. local_shell:
  8. docker run --rm -it -p 5000:5000 --mount source="$(shell pwd)",target=/usr/src,type=bind --name rocket-server rocket_local_dev