mirror of
https://github.com/KevinMidboe/cloudflare-ddns.git
synced 2025-10-29 09:30:17 +00:00
Requirements files for test & runtime
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
FROM python:3.10-alpine
|
FROM python:3.10-alpine
|
||||||
|
|
||||||
COPY *.py ./
|
COPY requirements.txt .
|
||||||
|
COPY src/*.py ./
|
||||||
|
|
||||||
RUN pip install requests python-dotenv
|
RUN pip install -r requirements.txt
|
||||||
CMD python3 main.py
|
CMD python3 main.py
|
||||||
|
|||||||
1
requirements-test.txt
Normal file
1
requirements-test.txt
Normal file
@@ -0,0 +1 @@
|
|||||||
|
responses==0.24.1
|
||||||
2
requirements.txt
Normal file
2
requirements.txt
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
requests==2.31.0
|
||||||
|
python-dotenv==1.0.1
|
||||||
Reference in New Issue
Block a user