First version

This commit is contained in:
2025-10-05 19:32:16 +02:00
commit 52e6b4a9a0
7 changed files with 247 additions and 0 deletions

15
Dockerfile Normal file
View File

@@ -0,0 +1,15 @@
FROM python:3.11-slim
WORKDIR /app
COPY src/requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
COPY src/netflix-asn.py .
COPY src/crontab.txt .
RUN chmod 0644 crontab.txt \
&& apt-get update && apt-get install -y cron \
&& crontab crontab.txt
CMD printenv > /etc/environment && cron -f