From b1aa99772ce0151c8c9dd685bff44ceb88004073 Mon Sep 17 00:00:00 2001 From: Alagris Date: Mon, 26 Apr 2021 08:02:43 +0200 Subject: [PATCH] fix docekr --- Dockerfile | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 89e0244..068f3f9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -5,13 +5,12 @@ ENV PYTHONIOENCODING=utf-8 # Instalujemy niezbędne zależności. Zwróć uwagę na flagę "-y" (assume yes) RUN apt update && apt install -y python3 python3-pip git locales -RUN pip3 install requests torch==1.8.1+cpu python-Levenshtein +RUN pip3 install requests python-Levenshtein +RUN pip3 install torch==1.8.1+cpu torchvision==0.9.1+cpu torchaudio==0.8.1 -f https://download.pytorch.org/whl/torch_stable.html RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen en_US.UTF-8 ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8' - -# Stwórzmy w kontenerze (jeśli nie istnieje) katalog /app i przejdźmy do niego (wszystkie kolejne polecenia RUN, CMD, ENTRYPOINT, COPY i ADD będą w nim wykonywane) WORKDIR /app # 3ffd24d6-993e-4ac8-abd4-48a784aa133d \ No newline at end of file