mirror of
https://gitlab.com/simple-stock-bots/simple-stock-bot.git
synced 2025-07-27 16:41:40 +00:00
refactor telegram bot to use docker compose
This commit is contained in:
17
Dockerfile
17
Dockerfile
@@ -1,17 +0,0 @@
|
||||
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
|
||||
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD [ "python", "./bot.py" ]
|
Reference in New Issue
Block a user