1
0
mirror of https://gitlab.com/simple-stock-bots/simple-stock-bot.git synced 2025-06-16 07:16:40 +00:00
2023-09-03 12:46:18 -06:00

18 lines
268 B
Docker

FROM python:3.11-buster AS builder
COPY discord/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 discord .
CMD [ "python", "./bot.py" ]