cjvt-valency/dockerfiles/python-env/Dockerfile

38 lines
555 B
Docker
Raw Normal View History

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 \
sshfs \
2020-11-23 10:20:47 +00:00
curl \
locales
RUN pip3 install --upgrade pip
2019-03-10 21:11:18 +00:00
RUN pip3 install \
lxml \
pandas \
sklearn \
argparse \
pyyaml \
2019-03-17 16:25:59 +00:00
pathlib \
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