1
0
mirror of https://gitlab.com/simple-stock-bots/simple-discord-stock-bot.git synced 2025-08-02 11:31:26 +00:00

Copy pasted all changes from Telegram bot

This commit is contained in:
2023-04-15 18:12:34 -06:00
parent eb48ab74c2
commit 32d83afdea
18 changed files with 813 additions and 1480 deletions

View File

@@ -1,23 +1,19 @@
FROM python:3.9-buster AS builder
FROM python:3.11-buster AS builder
COPY requirements.txt /requirements.txt
RUN pip install --user -r requirements.txt
FROM python:3.9-slim
FROM python:3.11-slim
ENV MPLBACKEND=Agg
COPY --from=builder /root/.local /root/.local
# Formatting
RUN pip install --no-cache-dir black
# Jupyter Notebooks
RUN pip install --no-cache-dir ipykernel
ENV DISCORD=TOKEN
ENV IEX=TOKEN
ENV TELEGRAM=TOKEN
ENV MARKETDATA=TOKEN
COPY . .