mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-10-27 20:42:26 +00:00
start of Docker and docker-compose support
This commit is contained in:
29
Dockerfile
Normal file
29
Dockerfile
Normal file
@@ -0,0 +1,29 @@
|
||||
FROM python:3.6.13-slim-buster
|
||||
|
||||
RUN apt-get update && apt-get -y install --no-install-recommends \
|
||||
ca-certificates \
|
||||
wget \
|
||||
curl \
|
||||
telnet \
|
||||
net-tools \
|
||||
iputils-ping \
|
||||
dnsutils \
|
||||
git \
|
||||
gnupg \
|
||||
unzip \
|
||||
bzip2 && \
|
||||
apt-get clean && \
|
||||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/*
|
||||
|
||||
RUN mkdir -p /home/gamestonkterminal
|
||||
WORKDIR /home/gamestonkterminal
|
||||
|
||||
COPY . .
|
||||
|
||||
RUN pip install -r requirements.txt
|
||||
RUN pip install git+https://github.com/DidierRLopes/TimeSeriesCrossValidation
|
||||
|
||||
RUN chown -R python /home/gamestonkterminal
|
||||
USER python
|
||||
|
||||
CMD ["python", "gameston_terminal.py"]
|
||||
Reference in New Issue
Block a user