mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-07-25 23:51:41 +00:00
.devcontainer
.vscode
.gitignore
.gitlab-ci.yml
Dockerfile
IEX_Symbol.py
LICENSE
README.md
Symbol.py
T_info.py
bot.py
cg_Crypto.py
requirements.txt
symbol_router.py
17 lines
249 B
Docker
17 lines
249 B
Docker
FROM python:3.9-buster AS builder
|
|
|
|
|
|
COPY requirements.txt /requirements.txt
|
|
RUN pip install --user -r requirements.txt
|
|
|
|
|
|
FROM python:3.9-slim
|
|
|
|
ENV MPLBACKEND=Agg
|
|
|
|
COPY --from=builder /root/.local /root/.local
|
|
|
|
|
|
COPY . .
|
|
|
|
CMD [ "python", "./bot.py" ] |