diff --git a/flask_ml_api/Dockerfile b/flask_ml_api/Dockerfile index babb246855dcd5eebe462b5c44f1f10075596192..8fde6bab9b6bd4841caf386a0a535c9cbf29ea87 100755 --- a/flask_ml_api/Dockerfile +++ b/flask_ml_api/Dockerfile @@ -1,3 +1,4 @@ +# Ðтап Ñборки FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime as build RUN apt-get update && apt-get install -y curl @@ -5,6 +6,9 @@ RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o rustup-init.sh RUN sh rustup-init.sh -y --default-toolchain none RUN ~/.cargo/bin/rustup toolchain install stable --profile minimal --no-self-update +RUN rustup --version +RUN cargo --version + RUN apt-get update && apt-get install -y --no-install-recommends \ build-essential python3-venv && \ apt-get clean && \