1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-07-30 18:11:42 +00:00

improve dev tooling

This commit is contained in:
2023-09-04 03:24:49 +00:00
parent 10c9a5a9e4
commit f364a82aad
4 changed files with 47 additions and 58 deletions

View File

@@ -1,20 +1,3 @@
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" ]
FROM python:3.11
COPY . .