Skip to content

Commit

Permalink
Dockerfile rust optimization
Browse files Browse the repository at this point in the history
  • Loading branch information
izelnakri committed Dec 8, 2020
1 parent 1f47d03 commit 5d55f98
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5d55f98

Please # to comment.