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