add docker thingies

This commit is contained in:
fzorb 2025-07-15 10:28:58 +03:00
parent 5037cbe9dd
commit 050059ecc2
2 changed files with 13 additions and 0 deletions

6
Dockerfile Normal file
View file

@ -0,0 +1,6 @@
FROM python:3.13-slim
WORKDIR /bot
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD ["python", "src/bot.py"]

7
compose.yml Normal file
View file

@ -0,0 +1,7 @@
services:
prntscrape:
build: .
volumes:
- ./token.txt:/bot/token.txt
- ./data.txt:/bot/data.txt
restart: always