update dockerfile

This commit is contained in:
jr-k 2024-08-05 00:59:02 +02:00
parent 4fc7e1baec
commit 6333caa0b5

View File

@ -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