git.delta.rocks / unique-network / refs/commits / 88d4ed37f262

difftreelog

docker files update

str-mv2020-05-07parent: #cb631b1.patch.diff
in: master

2 files changed

modifiedDockerfilediffbeforeafterboth
1111
12# Get project and run it12# Get project and run it
13RUN git clone https://github.com/usetech-llc/nft_parachain13RUN git clone https://github.com/usetech-llc/nft_parachain
14RUN cd nft_parachain && cargo build14WORKDIR /nft_parachain
15RUN cargo build
15RUN cd nft_parachain && cargo test --all16RUN cargo test --all
16RUN cd nft_parachain && cargo run -- --dev
modifieddocker-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