ium_434749/Dockerfile
Alagris b32921d045
Some checks failed
s434749-training/pipeline/head There was a failure building this commit
docekr
2021-05-10 11:44:45 +02:00

16 lines
577 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
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