mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-07-27 00:21:41 +00:00
.devcontainer
.vscode
common
discord
D_info.py
Dockerfile
bot.py
discord-reqs.txt
docs
telegram
.env
.gitignore
.gitlab-ci.yml
LICENSE
README.md
dev-reqs.txt
docker-compose.yaml
pyproject.toml
tests.py
19 lines
317 B
Docker
19 lines
317 B
Docker
FROM python:3.11-buster AS builder
|
|
|
|
|
|
COPY discord/discord-reqs.txt .
|
|
COPY common/requirements.txt .
|
|
|
|
RUN pip install --user -r discord-reqs.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" ] |