update dockerfile
This commit is contained in:
parent
4fc7e1baec
commit
6333caa0b5
@ -14,11 +14,11 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
|
||||
&& rm -rf /var/lib/apt/lists/*
|
||||
|
||||
# Install Rust using rustup
|
||||
RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable \
|
||||
&& source $HOME/.cargo/env
|
||||
#RUN curl https://sh.rustup.rs -sSf | sh -s -- -y --default-toolchain stable \
|
||||
# && source $HOME/.cargo/env
|
||||
|
||||
# Set environment variable to add Rust to the path
|
||||
ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
#ENV PATH="/root/.cargo/bin:${PATH}"
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user