docker stuff :3

This commit is contained in:
fzorb 2025-05-25 19:27:27 +03:00
parent 71e05e2e11
commit ec3354b569
2 changed files with 14 additions and 0 deletions

6
Dockerfile Normal file
View file

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

8
compose.yml Normal file
View file

@ -0,0 +1,8 @@
version: '3.8'
services:
prntscrape:
build: .
volumes:
- ./config.json:/scraper/config.json
restart: always