git.delta.rocks / unique-network / refs/commits / aba2919cb56e

difftreelog

source

.docker/Dockerfile-chain-dev855 Bsourcehistory
1FROM uniquenetwork/services:latest23ARG RUST_TOOLCHAIN4ARG NETWORK56ENV DEBIAN_FRONTEND=noninteractive7ENV TZ=Etc/UTC8ENV NETWORK=$NETWORK9ENV CARGO_HOME="/cargo-home"10ENV PATH="/cargo-home/bin:$PATH"1112RUN echo "$NETWORK\n" && echo "$RUST_TOOLCHAIN\n"1314RUN rustup toolchain uninstall $(rustup toolchain list) && \15    rustup toolchain install $RUST_TOOLCHAIN && \16    rustup default $RUST_TOOLCHAIN && \17    rustup component add --toolchain $RUST_TOOLCHAIN rust-src && \18    rustup target add wasm32-unknown-unknown --toolchain $RUST_TOOLCHAIN1920RUN mkdir /dev_chain21COPY . /dev_chain2223WORKDIR /dev_chain2425RUN cargo build --profile integration-tests --features=${NETWORK}-runtime,fast-inflation26RUN echo "$NETWORK"2728CMD cargo run --profile integration-tests --features=${NETWORK}-runtime,fast-inflation -- --dev -linfo --rpc-cors=all --unsafe-rpc-external