start of Docker and docker-compose support

This commit is contained in:
Justin
2021-02-24 23:21:02 -06:00
parent 21e7e4ad4b
commit 7afa86dc2d
3 changed files with 45 additions and 0 deletions

29
Dockerfile Normal file
View 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"]