2019-05-03 23:28:46 +00:00
|
|
|
FROM ubuntu:18.04
|
2019-03-10 21:11:18 +00:00
|
|
|
|
|
|
|
RUN apt-get update --fix-missing
|
|
|
|
RUN apt-get install -y \
|
|
|
|
vim \
|
|
|
|
python3 \
|
|
|
|
python3-pip \
|
2019-05-03 23:28:46 +00:00
|
|
|
sshfs \
|
2020-11-23 10:20:47 +00:00
|
|
|
curl \
|
|
|
|
locales
|
2019-05-03 23:28:46 +00:00
|
|
|
|
|
|
|
RUN pip3 install --upgrade pip
|
2019-03-10 21:11:18 +00:00
|
|
|
|
|
|
|
RUN pip3 install \
|
|
|
|
lxml \
|
|
|
|
pandas \
|
|
|
|
sklearn \
|
|
|
|
argparse \
|
2019-05-03 23:28:46 +00:00
|
|
|
pyyaml \
|
2019-03-17 16:25:59 +00:00
|
|
|
pathlib \
|
2019-05-03 23:28:46 +00:00
|
|
|
flask \
|
|
|
|
flask_cors \
|
2019-03-22 13:50:47 +00:00
|
|
|
pymongo \
|
2019-05-04 16:12:05 +00:00
|
|
|
flask-pymongo \
|
2020-11-23 10:20:47 +00:00
|
|
|
gunicorn \
|
|
|
|
SQLAlchemy \
|
|
|
|
tqdm \
|
|
|
|
psycopg2-binary
|
|
|
|
|
|
|
|
# Set the locale
|
|
|
|
RUN sed -i -e 's/# en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen && \
|
|
|
|
locale-gen
|
|
|
|
ENV LANG en_US.UTF-8
|
|
|
|
ENV LANGUAGE en_US:en
|
|
|
|
ENV LC_ALL en_US.UTF-8
|
2019-03-10 21:11:18 +00:00
|
|
|
|
|
|
|
ENV PYTHONIOENCODING UTF-8
|