difftreelog
docker files update
in: master
2 files changed
Dockerfilediffbeforeafterboth--- 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
docker-compose.ymldiffbeforeafterboth8 build:8 build:9 context: ./9 context: ./10 dockerfile: Dockerfile10 dockerfile: Dockerfile11 volumes:12 - chain-data:/chain-data/13 command: 14 cargo run -- --dev --ws-external --rpc-external --base-path=./chain-data15 16volumes:17 chain-data: