This repository has been archived on 2026-10-28. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
karldns.de/Dockerfile
T

13 lines
373 B
Docker
Raw Normal View History

2026-05-20 13:48:24 +02:00
FROM python:3.12-slim
WORKDIR /app
COPY pyproject.toml README.md /app/
COPY router_dyndns /app/router_dyndns
RUN pip install --no-cache-dir .
2026-05-20 18:33:48 +02:00
RUN adduser --system --group --home /app routerpulse \
&& mkdir -p /data \
&& chown -R routerpulse:routerpulse /app /data
USER routerpulse
2026-05-20 13:48:24 +02:00
EXPOSE 8080
CMD ["router-dyndns", "serve", "--host", "0.0.0.0", "--port", "8080"]