git.delta.rocks / unique-network / refs/commits / 5fb64643a728

difftreelog

Fix volume in docker

Greg Zaitsev2020-05-07parent: #6eb7e2b.patch.diff
in: master

3 files changed

modifiedDockerfilediffbeforeafterboth
13RUN git clone https://github.com/usetech-llc/nft_parachain13RUN git clone https://github.com/usetech-llc/nft_parachain
14WORKDIR /nft_parachain14WORKDIR /nft_parachain
15RUN cargo build15RUN cargo build
16RUN cargo test --all16RUN cargo test --all
17
18# Copy and run start script
19COPY ["./run.sh", "./run.sh"]
20RUN chmod +x ./run.sh
21CMD ["bash", "-c", "./run.sh"]
22
modifieddocker-compose.ymldiffbeforeafterboth
9 context: ./9 context: ./
10 dockerfile: Dockerfile10 dockerfile: Dockerfile
11 volumes:11 volumes:
12 - chain-data:/chain-data/12 - ./chain-data:/chain-data
13 command: 13
14 cargo run -- --dev --ws-external --rpc-external --base-path=./chain-data
15
16volumes:
17 chain-data:
addedrun.shdiffbeforeafterboth

no changes