2021-04-11 19:37:47 +02:00
|
|
|
FROM ubuntu:latest
|
|
|
|
|
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-04-11 19:50:12 +02:00
|
|
|
|
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
|
|
|
|
|
|
|
|
# 3ffd24d6-993e-4ac8-abd4-48a784aa133d
|