Updating and renaming Docker images (#1594)

* Updating and renaming Docker images

* Renaming OpenBB Terminal.bat
This commit is contained in:
Artem Veremey
2022-03-29 14:44:44 -07:00
committed by GitHub
parent f5582a5218
commit fe1068882e
22 changed files with 137 additions and 126 deletions

39
docker/openbbterminal-python.dockerfile vendored Normal file
View File

@@ -0,0 +1,39 @@
FROM python:3.8-slim-buster
LABEL org.opencontainers.image.source https://github.com/OpenBB-finance/OpenBBTerminal
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_16.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.12"