From 5d55f9854a44c8744a6299bc1b76358243ed93eb Mon Sep 17 00:00:00 2001 From: Izel Nakri Date: Tue, 8 Dec 2020 20:58:51 +0100 Subject: [PATCH] Dockerfile rust optimization --- Dockerfile | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7c9ae65..4777a8b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,12 +5,10 @@ ENV MIX_ENV=$MIX_ENV WORKDIR /code -RUN apt-get update && apt-get -y install python procps autoconf libtool libgmp3-dev git curl make build-essential && \ +RUN apt-get update && apt-get -y install cargo python procps autoconf libtool libgmp3-dev git curl make build-essential && \ curl https://get.volta.sh | bash -RUN curl https://sh.rustup.rs -sSf | bash -s -- -y - -ENV PATH=$PATH:/root/.volta/bin:/root/.cargo/bin +ENV PATH=$PATH:/root/.volta/bin RUN volta install node@8.17