ium_434749/Dockerfile
2021-06-06 19:01:11 +02:00

19 lines
661 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 pip3 install setuptools-rust
RUN pip3 install dvc[ssh] paramiko
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