FROM ubuntu:latest 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 python-Levenshtein tqdm sacred pymongo 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' WORKDIR /app # 3ffd24d6-993e-4ac8-abd4-48a784aa133d