add docker thingies
This commit is contained in:
parent
5037cbe9dd
commit
050059ecc2
2 changed files with 13 additions and 0 deletions
6
Dockerfile
Normal file
6
Dockerfile
Normal 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
7
compose.yml
Normal file
|
@ -0,0 +1,7 @@
|
|||
services:
|
||||
prntscrape:
|
||||
build: .
|
||||
volumes:
|
||||
- ./token.txt:/bot/token.txt
|
||||
- ./data.txt:/bot/data.txt
|
||||
restart: always
|
Loading…
Add table
Add a link
Reference in a new issue