1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-15 14:56:40 +00:00

22 lines
327 B
Docker

FROM python:3.11-buster AS builder
COPY telegram/telegram-reqs.txt .
COPY common/requirements.txt .
RUN pip install --user -r telegram-reqs.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" ]