mirror of
https://gitlab.com/simple-stock-bots/simple-telegram-stock-bot.git
synced 2025-06-16 15:06:53 +00:00
21 lines
331 B
Docker
21 lines
331 B
Docker
FROM python:3.11-buster AS builder
|
|
|
|
|
|
COPY requirements.txt /requirements.txt
|
|
RUN pip install --user -r requirements.txt
|
|
|
|
|
|
FROM python:3.11-slim
|
|
|
|
ENV MPLBACKEND=Agg
|
|
|
|
COPY --from=builder /root/.local /root/.local
|
|
|
|
RUN pip install --no-cache-dir black
|
|
ENV TELEGRAM=TOKEN
|
|
ENV MARKETDATA=TOKEN
|
|
|
|
COPY . .
|
|
|
|
# CMD [ "python", "./bot.py" ]
|