This commit is contained in:
Alagris 2021-04-26 08:09:01 +02:00
parent 5a1550c3fc
commit 9cc09214cb

View File

@ -5,7 +5,7 @@ ENV PYTHONIOENCODING=utf-8
# Instalujemy niezbędne zależności. Zwróć uwagę na flagę "-y" (assume yes) # 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 apt update && apt install -y python3 python3-pip git locales
RUN pip3 install requests python-Levenshtein RUN pip3 install requests python-Levenshtein tqdm
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 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 RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen en_US.UTF-8