Add very basic docker build

This commit is contained in:
Thomas Renger 2023-12-28 16:08:01 +01:00
parent 5cb8b8b7e0
commit cbfd679f1c
2 changed files with 12 additions and 0 deletions

9
Dockerfile Normal file
View File

@ -0,0 +1,9 @@
FROM python:3
WORKDIR /usr/src/app
COPY requirements.txt ./
RUN pip install --no-cache-dir -r requirements.txt
COPY . .
CMD [ "python", "./scan-feeds.py" ]

3
requirements.txt Normal file
View File

@ -0,0 +1,3 @@
pyyaml
feedparser
python-dateutil