mirror of
https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git
synced 2025-07-25 07:31:48 +00:00
Resolve "Combine Discord and Telegram bots into one repo and deploy with docker compose"
This commit is contained in:
18
discord/Dockerfile
Normal file
18
discord/Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM python:3.11-buster AS builder
|
||||
|
||||
|
||||
COPY discord/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 discord .
|
||||
|
||||
CMD [ "python", "./bot.py" ]
|
Reference in New Issue
Block a user