1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-08-17 02:34:47 +00:00
Files
.devcontainer
.vscode
.gitignore
.gitlab-ci.yml
Dockerfile
LICENSE
MarketData.py
README.md
Symbol.py
T_info.py
bot.py
cg_Crypto.py
dev-reqs.txt
pyproject.toml
requirements.txt
symbol_router.py
tests.py
Simple-Stock-Bot/Dockerfile

17 lines
251 B
Docker

FROM python:3.11-buster AS builder
COPY requirements.txt /requirements.txt
RUN pip install --user -r requirements.txt
FROM python:3.11-slim
ENV MPLBACKEND=Agg
COPY --from=builder /root/.local /root/.local
COPY . .
CMD [ "python", "./bot.py" ]