diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e101616 --- /dev/null +++ b/Dockerfile @@ -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"] \ No newline at end of file diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..d59cb4b --- /dev/null +++ b/compose.yml @@ -0,0 +1,7 @@ +services: + prntscrape: + build: . + volumes: + - ./token.txt:/bot/token.txt + - ./data.txt:/bot/data.txt + restart: always