LABEL org.opencontainers.image.source="https://github.com/soxfor/qbittorrent-natmap" LABEL org.opencontainers.image.description="Map port via NAT-PMP and update qBittorrent configuration" LABEL org.opencontainers.image.version="1.0.0" LABEL org.opencontainers.image.base.name="ubuntu:jammy" FROM ubuntu:jammy ARG DEBIAN_FRONTEND=noninteractive RUN apt update RUN apt install --no-install-suggests --no-install-recommends -y natpmpc curl bc RUN rm -rf /var/lib/apt/lists/* /var/cache/apt/* RUN apt clean ENV QBITTORRENT_SERVER='' ENV QBITTORRENT_PORT='8080' ENV QBITTORRENT_USER='admin' ENV QBITTORRENT_PASS='adminadmin' ENV VPN_GATEWAY='' ENV CHECK_INTERVAL='300' ENV NAT_LEASE_LIFETIME='300' COPY data/start.sh /start.sh RUN chmod 750 /start.sh CMD ["./start.sh"]