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

14 lines
373 B
Docker

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 .
RUN adduser --system --group --home /app routerpulse \
&& mkdir -p /data \
&& chown -R routerpulse:routerpulse /app /data
USER routerpulse
EXPOSE 8080
CMD ["router-dyndns", "serve", "--host", "0.0.0.0", "--port", "8080"]