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

update how requirements work

This commit is contained in:
2023-10-08 21:02:28 -06:00
parent 2d6cdc26b7
commit 5a02ffc3ce
39 changed files with 2583 additions and 2582 deletions

View File

@@ -1,21 +1,22 @@
FROM python:3.11-buster AS builder
COPY telegram/requirements.txt .
RUN pip install --user -r requirements.txt
FROM python:3.11-slim
ENV MPLBACKEND=Agg
COPY --from=builder /root/.local /root/.local
COPY common common
COPY telegram .
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" ]