mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-07-28 00:51:41 +00:00
.devcontainer
.vscode
common
telegram
Dockerfile
T_info.py
bot.py
requirements.txt
.env
.gitignore
.gitlab-ci.yml
LICENSE
README.md
dev-reqs.txt
docker-compose.yaml
pyproject.toml
tests.py
21 lines
273 B
Docker
21 lines
273 B
Docker
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 .
|
|
|
|
|
|
|
|
CMD [ "python", "./bot.py" ] |