ium_434749/Dockerfile

23 lines
951 B
Docker
Raw Normal View History

2021-06-06 19:50:07 +02:00
FROM ubuntu:latest
2021-04-11 19:37:47 +02:00
2021-04-11 19:54:11 +02:00
ENV PYTHONIOENCODING=utf-8
2021-04-11 19:37:47 +02:00
# Instalujemy niezbędne zależności. Zwróć uwagę na flagę "-y" (assume yes)
2021-04-11 20:08:13 +02:00
RUN apt update && apt install -y python3 python3-pip git locales
2021-04-11 19:37:47 +02:00
2021-05-23 17:00:43 +02:00
RUN pip3 install requests python-Levenshtein tqdm sacred pymongo mlflow
2021-04-26 08:02:43 +02:00
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
2021-06-06 19:55:08 +02:00
RUN pip3 install setuptools-rust build-essential libffi-dev python-dev libgit2-dev
2021-06-06 19:50:07 +02:00
RUN pip3 install dvc[ssh] paramiko
2021-06-06 19:41:26 +02:00
# RUN apt install -y wget
2021-06-06 19:33:26 +02:00
# 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
2021-06-06 19:50:07 +02:00
# RUN conda install -c conda-forge dvc-ssh
2021-04-11 20:08:13 +02:00
RUN sed -i '/en_US.UTF-8/s/^# //g' /etc/locale.gen && locale-gen en_US.UTF-8
2021-04-11 20:06:34 +02:00
ENV LANG='en_US.UTF-8' LANGUAGE='en_US:en' LC_ALL='en_US.UTF-8'
2021-04-11 19:37:47 +02:00
WORKDIR /app
2021-06-06 19:01:11 +02:00
# 3ffd24d6-993e-4ac8-abd4-48a784aa133d