docker stuff :3
This commit is contained in:
parent
71e05e2e11
commit
ec3354b569
2 changed files with 14 additions and 0 deletions
6
Dockerfile
Normal file
6
Dockerfile
Normal 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
8
compose.yml
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
version: '3.8'
|
||||||
|
|
||||||
|
services:
|
||||||
|
prntscrape:
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- ./config.json:/scraper/config.json
|
||||||
|
restart: always
|
Loading…
Add table
Add a link
Reference in a new issue