Files
OpenBB/docker/python.dockerfile
Colin Delahunty 702417df26 Adds doc fixes (#2928)
Co-authored-by: Chavithra <chavithra@gmail.com>
Co-authored-by: James Maslek <jmaslek11@gmail.com>
2022-10-22 22:25:25 -04:00

42 lines
806 B
Docker
Vendored

FROM python:3.9-slim-bullseye
LABEL org.opencontainers.image.source https://github.com/OpenBB-finance/OpenBBTerminal
RUN apt-get update
RUN apt-get -y install --no-install-recommends \
gcc \
g++ \
make \
cmake \
wget \
curl \
telnet \
net-tools \
iputils-ping \
dnsutils \
git \
gnupg \
unzip \
bzip2 \
libsm6 \
libxt6 \
libgl1-mesa-glx \
libpng16-16 \
procps \
python3-tk
RUN curl -sL https://deb.nodesource.com/setup_16.x -o nodesource_setup.sh
RUN bash nodesource_setup.sh
RUN apt-get install -y nodejs
RUN apt-get -y autoremove
RUN apt-get clean
RUN rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
RUN useradd --create-home --shell /bin/bash python
USER python
WORKDIR /home/python
ENV PATH="/home/python/.local/bin:${PATH}"
RUN pip install "poetry==1.1.15"