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
--- a/Dockerfile
+++ b/Dockerfile
@@ -11,6 +11,6 @@
 
 # Get project and run it
 RUN git clone https://github.com/usetech-llc/nft_parachain
-RUN cd nft_parachain && cargo build
-RUN cd nft_parachain && cargo test --all
-RUN cd nft_parachain && cargo run -- --dev
\ No newline at end of file
+WORKDIR /nft_parachain
+RUN cargo build
+RUN cargo test --all
\ No newline at end of file
modifieddocker-compose.ymldiffbeforeafterboth
8 build:8 build:
9 context: ./9 context: ./
10 dockerfile: Dockerfile10 dockerfile: Dockerfile
11 volumes:
12 - chain-data:/chain-data/
13 command:
14 cargo run -- --dev --ws-external --rpc-external --base-path=./chain-data
15
16volumes:
17 chain-data: