Files
OpenBB/docker/gst-python.dockerfile
Artem Veremey bb17974e7e Implement Jupyter Lab container (#741)
* Updating dependencies to address pillow security

* Implement Jupyter Lab container
2021-09-12 08:07:22 -07:00

40 lines
817 B
Docker
Vendored

FROM python:3.8-slim-buster
LABEL org.opencontainers.image.source https://github.com/GamestonkTerminal/GamestonkTerminal
RUN apt-get update && apt-get -y install --no-install-recommends \
gcc \
g++ \
make \
wget \
curl \
telnet \
net-tools \
iputils-ping \
dnsutils \
git \
gnupg \
unzip \
bzip2 \
libsm6 \
libxt6 \
libgl1-mesa-glx \
libpng16-16 \
procps \
python3-tk && \
curl -sL https://deb.nodesource.com/setup_14.x -o nodesource_setup.sh && \
bash nodesource_setup.sh && \
apt-get install -y nodejs && \
apt-get -y autoremove && \
apt-get clean && \
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.7"