|
|
- local_build:
- docker build -t rocket_local_dev -f Dockerfile .
-
- local_run:
- 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'
-
- local_stop:
- docker stop rocket
-
- local_shell:
- docker run --rm -it -p 5000:5000 --mount source="$(shell pwd)",target=/usr/src,type=bind --name rocket-server rocket_local_dev
|