From ce55803abc65777785e64489da3c40cf64813156 Mon Sep 17 00:00:00 2001 From: AbdBarho Date: Sat, 29 Oct 2022 21:41:01 +0200 Subject: [PATCH] lstein --- docker-compose.yml | 2 +- services/lstein/Dockerfile | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3be9a75..0cc908f 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -51,7 +51,7 @@ services: <<: *base_service profiles: ["lstein"] build: ./services/lstein/ - image: sd-lstein:3 + image: sd-lstein:4 environment: - PRELOAD=true - CLI_ARGS= diff --git a/services/lstein/Dockerfile b/services/lstein/Dockerfile index 4b4d0e2..6010a77 100644 --- a/services/lstein/Dockerfile +++ b/services/lstein/Dockerfile @@ -4,27 +4,25 @@ FROM continuumio/miniconda3:4.12.0 SHELL ["/bin/bash", "-ceuxo", "pipefail"] -ENV DEBIAN_FRONTEND=noninteractive +ENV DEBIAN_FRONTEND=noninteractive PIP_EXISTS_ACTION=w PIP_PREFER_BINARY=1 PIP_NO_CACHE_DIR=1 # now it requires python3.9 RUN conda install python=3.9 && conda clean -a -y RUN conda install pytorch==1.11.0 torchvision==0.12.0 cudatoolkit=11.3 -c pytorch && conda clean -a -y -RUN apt-get update && apt install fonts-dejavu-core rsync gcc -y && apt-get clean - -ENV PIP_EXISTS_ACTION=w +RUN apt-get update && apt install fonts-dejavu-core -y && apt-get clean RUN <