mirror of
https://github.com/Akarys42/cloudflare-ddns-docker.git
synced 2025-05-10 16:55:17 -06:00
Add docker setup
This commit is contained in:
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM python:3.9-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
ENTRYPOINT ["python3", "-m", "cloudflare-ddns"]
|
||||
CMD []
|
||||
|
||||
# Install requirements in a separate step to not rebuild everything when the requirements are updated.
|
||||
COPY requirements.txt ./
|
||||
RUN pip install -r requirements.txt
|
||||
|
||||
COPY . .
|
Reference in New Issue
Block a user