From 62fc8d347e72e6a2d0f8292c82521dc334afd13f Mon Sep 17 00:00:00 2001 From: Artem Baranovskyi <artem.baranovsky1980@gmail.com> Date: Tue, 7 Jan 2025 23:46:15 +0200 Subject: [PATCH] Image build is optimized. --- flask_ml_api/Dockerfile | 1 + 1 file changed, 1 insertion(+) diff --git a/flask_ml_api/Dockerfile b/flask_ml_api/Dockerfile index 80ea622..a6725aa 100755 --- a/flask_ml_api/Dockerfile +++ b/flask_ml_api/Dockerfile @@ -2,6 +2,7 @@ FROM pytorch/pytorch:1.10.0-cuda11.3-cudnn8-runtime as build RUN apt-get update && apt-get install -y curl RUN curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs -o /usr/local/bin/rustup-init.sh +RUN chmod +x /usr/local/bin/rustup-init.sh RUN /usr/local/bin/rustup-init.sh -y --default-toolchain none RUN /usr/local/bin/rustup toolchain install stable --profile minimal --no-self-update -- GitLab