difftreelog
docker files update
in: master
2 files changed
Dockerfilediffbeforeafterboth111112# Get project and run it12# Get project and run it13RUN git clone https://github.com/usetech-llc/nft_parachain13RUN git clone https://github.com/usetech-llc/nft_parachain14RUN cd nft_parachain && cargo build14WORKDIR /nft_parachain15RUN cargo build15RUN cd nft_parachain && cargo test --all16RUN cargo test --all16RUN cd nft_parachain && cargo run -- --devdocker-compose.ymldiffbeforeafterboth--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -7,4 +7,11 @@
- 9944:9944
build:
context: ./
- dockerfile: Dockerfile
\ No newline at end of file
+ dockerfile: Dockerfile
+ volumes:
+ - chain-data:/chain-data/
+ command:
+ cargo run -- --dev --ws-external --rpc-external --base-path=./chain-data
+
+volumes:
+ chain-data:
\ No newline at end of file