1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-07-22 14:11:41 +00:00

Resolve "Combine Discord and Telegram bots into one repo and deploy with docker compose"

This commit is contained in:
2023-09-03 19:01:09 +00:00
parent d6dd6f7353
commit 8d749774d4
17 changed files with 688 additions and 407 deletions

21
telegram/Dockerfile Normal file
View File

@@ -0,0 +1,21 @@
FROM python:3.11-buster AS builder
COPY telegram/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 common common
COPY telegram .
CMD [ "python", "./bot.py" ]