FROM debian:12-slim ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update && apt-get install -y \ openssh-server \ curl \ wget \ sudo \ iproute2 \ iptables \ ca-certificates \ procps \ net-tools \ vim \ nano \ htop \ git \ unzip \ gnupg \ lsb-release \ nginx \ && rm -rf /var/lib/apt/lists/* RUN curl -fsSL https://tailscale.com/install.sh | sh RUN mkdir -p /run/sshd /var/run/tailscale /var/lib/tailscale /var/cache/tailscale RUN echo 'root:root' | chpasswd RUN sed -i 's/#PermitRootLogin prohibit-password/PermitRootLogin yes/' /etc/ssh/sshd_config && \ sed -i 's/#PasswordAuthentication yes/PasswordAuthentication yes/' /etc/ssh/sshd_config && \ sed -i 's/PasswordAuthentication no/PasswordAuthentication yes/' /etc/ssh/sshd_config RUN cat > /etc/nginx/sites-available/default << 'EOF' server { listen 7860; root /var/www/html; index index.html; location / { try_files $uri $uri/ =404; } } EOF RUN echo '