mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2026-06-03 21:00:26 +00:00
018613e896
- Update python-telegram-bot from 20.6 to 21.11.1 (latest 21.x) - Update pandas to 3.0.1, requests to 2.32.5, cachetools to 7.0.1 - Update humanize to 4.15.0, markdownify to 1.2.2, schedule to 1.2.2 - Update mplfinance to 0.12.10a7, ruff to 0.15.2 - Add pytest 9.0.2 to dev requirements - Update Dockerfiles to Python 3.12-bookworm/slim - Enable ruff linting in GitLab CI with updated Python 3.12 image
23 lines
309 B
Docker
23 lines
309 B
Docker
FROM python:3.12-bookworm AS builder
|
|
|
|
|
|
COPY telegram/telegram-reqs.txt .
|
|
COPY common/requirements.txt .
|
|
|
|
RUN pip install --user -r telegram-reqs.txt
|
|
|
|
|
|
FROM python:3.12-slim
|
|
|
|
ENV MPLBACKEND=Agg
|
|
|
|
COPY --from=builder /root/.local /root/.local
|
|
|
|
|
|
COPY common common
|
|
COPY telegram .
|
|
|
|
|
|
|
|
CMD [ "python", "./bot.py" ]
|