Run the sui Docker container:
docker run -it georgedigkas/sui /bin/bashsui clientcd /home/
git clone https://github.com/amnn/nftrpg
cd nftrpg(Optional Step - specifically for this project) - Replace 01989d3d5 with devnet in order to be able to build the project
sed -i 's/01989d3d5/devnet/g' Move.tomlsui move buildPrerequirement our newly generated wallet to have enough funds. If it does not have ask from the Discord faucet. Get the address of the newly generated wallet
sui client active-addresssui client publish --gas-budget 10000Mount into the container the source code of a local dApp (i.e. nftrpg), build it inside the container and publish it
NOTE: the binding of the volumes/directories is bidirectional the changes that are performed inside the container are stored also in the host machine and vice versa
docker run -it -v "$(pwd)"/nftrpg:/home/nftrpg georgedigkas/sui /bin/bashsui clientcd /home/nftrpg(Optional Step - specifically for this project) - Replace 01989d3d5 with devnet in order to be able to build the project
sed -i 's/01989d3d5/devnet/g' Move.tomlsui move buildPrerequirement our newly generated wallet to have enough funds. If it does not have ask from the Discord faucet. Get the address of the newly generated wallet
sui client active-addresssui client publish --gas-budget 10000