ium_434749/Dockerfile
2021-06-06 20:00:20 +02:00

24 lines
949 B
Docker

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 mlflow
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 apt install -y libgit2-dev
RUN pip3 install setuptools-rust python-dev-tools
RUN pip3 install dvc[ssh] paramiko
# RUN apt install -y wget
# RUN wget https://repo.anaconda.com/archive/Anaconda3-2021.05-Linux-x86_64.sh
# RUN chmod +x ./Anaconda3-2021.05-Linux-x86_64.sh
# RUN ./Anaconda3-2021.05-Linux-x86_64.sh
# RUN conda install -c conda-forge dvc-ssh
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