difftreelog
fix include profile arg in builder stage
in: master
1 file changed
Dockerfile-parachaindiffbeforeafterboth22#RUN echo $POLKA_VERSION22#RUN echo $POLKA_VERSION23#RUN echo $NFT_BRANCH23#RUN echo $NFT_BRANCH242425ARG PROFILE=release2627ENV CARGO_HOME="/cargo-home"25ENV CARGO_HOME="/cargo-home"28ENV PATH="/cargo-home/bin:$PATH"26ENV PATH="/cargo-home/bin:$PATH"292758WORKDIR /nft_parachain56WORKDIR /nft_parachain595760COPY --from=chef /nft_parachain/recipe.json recipe.json58COPY --from=chef /nft_parachain/recipe.json recipe.json59ARG PROFILE=release61RUN cargo chef cook --release --recipe-path recipe.json60RUN cargo chef cook "--$PROFILE" --recipe-path recipe.json626163COPY . .62COPY . .64RUN cargo build "--$PROFILE"63RUN cargo build "--$PROFILE"