From 85004c8c87578fa37514c0cc4316560eefe931a6 Mon Sep 17 00:00:00 2001 From: Julius ter Pelkwijk <1099127+mrseeker@users.noreply.github.com> Date: Thu, 18 Jan 2024 11:45:57 +0100 Subject: [PATCH] Update Dockerfile Dockerfile waits for an interactive screen from conda, which hangs Docker. This change simply changes the docker file to skip the interactive part. --- Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index db87afac..c203b10e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -28,7 +28,7 @@ SHELL ["/bin/bash", "--login", "-c"] RUN conda create --name tortoise python=3.9 numba inflect \ && conda activate tortoise \ - && conda install pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia \ - && conda install transformers=4.29.2 \ + && conda install -y pytorch torchvision torchaudio pytorch-cuda=11.7 -c pytorch -c nvidia \ + && conda install -y transformers=4.29.2 \ && cd /app \ && python setup.py install