FROM ubuntu:24.04 WORKDIR /app RUN apt-get update && apt-get install -y \ curl screen \ && rm -rf /var/lib/apt/lists/* RUN curl -s https://api.github.com/repos/nexus-xyz/nexus-cli/releases/latest | \ grep "browser_download_url" | \ grep "nexus-network-linux-x86_64\"" | \ cut -d '"' -f 4 | \ xargs -I {} curl -L -o nexus-network {} && \ chmod +x nexus-network COPY entrypoint.sh entrypoint.sh RUN chmod +x entrypoint.sh ENTRYPOINT ["./entrypoint.sh"]