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.
 
 

11 lines
417 B

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