Files
homelab-docs/homelab/vpn-route-check/Dockerfile
2026-02-23 16:47:17 +03:00

10 lines
352 B
Docker

FROM python:3.11-slim
RUN apt-get update && apt-get install -y --no-install-recommends traceroute dnsutils iproute2 openssh-client && rm -rf /var/lib/apt/lists/*
WORKDIR /app
COPY check_routes.py domains.txt serve_no_cache.py ./
RUN mkdir -p /data
COPY entrypoint.sh /entrypoint.sh
RUN chmod +x /entrypoint.sh
EXPOSE 8765
ENTRYPOINT ["/entrypoint.sh"]