mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-06-16 15:17:28 +00:00
update how requirements work
This commit is contained in:
parent
2d6cdc26b7
commit
5a02ffc3ce
@ -1,3 +1,5 @@
|
|||||||
FROM python:3.11
|
FROM python:3.11
|
||||||
|
|
||||||
COPY . .
|
COPY . .
|
||||||
|
|
||||||
|
# RUN pip install -r requirements.txt
|
6
common/requirements.txt
Normal file
6
common/requirements.txt
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
requests==2.31.0
|
||||||
|
pandas==2.1.1
|
||||||
|
schedule==1.2.1
|
||||||
|
mplfinance==0.12.10b0
|
||||||
|
markdownify==0.11.6
|
||||||
|
cachetools==5.3.1
|
@ -1,4 +1,5 @@
|
|||||||
-r telegram/requirements.txt
|
-r common/requirements.txt
|
||||||
|
-r docs/requirements.txt
|
||||||
black==23.7.0
|
black==23.7.0
|
||||||
flake8==6.1.0
|
flake8==6.1.0
|
||||||
Flake8-pyproject==1.2.3
|
Flake8-pyproject==1.2.3
|
||||||
|
@ -1,9 +1,10 @@
|
|||||||
FROM python:3.11-buster AS builder
|
FROM python:3.11-buster AS builder
|
||||||
|
|
||||||
|
|
||||||
COPY discord/requirements.txt .
|
COPY discord/discord-reqs.txt .
|
||||||
|
COPY common/requirements.txt .
|
||||||
|
|
||||||
RUN pip install --user -r requirements.txt
|
RUN pip install --user -r discord-reqs.txt
|
||||||
|
|
||||||
|
|
||||||
FROM python:3.11-slim
|
FROM python:3.11-slim
|
||||||
|
2
discord/discord-reqs.txt
Normal file
2
discord/discord-reqs.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
nextcord==2.4.2
|
||||||
|
-r requirements.txt
|
@ -1,7 +0,0 @@
|
|||||||
nextcord==2.4.2
|
|
||||||
requests==2.25.1
|
|
||||||
pandas==2.0.0
|
|
||||||
schedule==1.0.0
|
|
||||||
mplfinance==0.12.7a5
|
|
||||||
markdownify==0.6.5
|
|
||||||
cachetools==4.2.2
|
|
@ -1,5 +1,5 @@
|
|||||||
mkdocs-material==9.1
|
mkdocs-material==9.4.4
|
||||||
|
|
||||||
# Required for Social Cards
|
# Required for Social Cards
|
||||||
Pillow==9.5.0
|
Pillow==10.0.1
|
||||||
CairoSVG==2.7.0
|
CairoSVG==2.7.1
|
@ -1,9 +1,10 @@
|
|||||||
FROM python:3.11-buster AS builder
|
FROM python:3.11-buster AS builder
|
||||||
|
|
||||||
|
|
||||||
COPY telegram/requirements.txt .
|
COPY telegram/telegram-reqs.txt .
|
||||||
|
COPY common/requirements.txt .
|
||||||
|
|
||||||
RUN pip install --user -r requirements.txt
|
RUN pip install --user -r telegram-reqs.txt
|
||||||
|
|
||||||
|
|
||||||
FROM python:3.11-slim
|
FROM python:3.11-slim
|
||||||
|
@ -1,7 +0,0 @@
|
|||||||
python-telegram-bot==20.5
|
|
||||||
requests==2.31.0
|
|
||||||
pandas==2.1.0
|
|
||||||
schedule==1.2.0
|
|
||||||
mplfinance==0.12.10b0
|
|
||||||
markdownify==0.11.6
|
|
||||||
cachetools==5.3.1
|
|
2
telegram/telegram-reqs.txt
Normal file
2
telegram/telegram-reqs.txt
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
python-telegram-bot==20.5
|
||||||
|
-r requirements.txt
|
Loading…
x
Reference in New Issue
Block a user