FROM ubuntu:22.04 ENV DEBIAN_FRONTEND=noninteractive RUN apt-get update \ && apt-get install -y --no-install-recommends \ bash \ ca-certificates \ curl \ passwd \ sudo \ ttyd \ && rm -rf /var/lib/apt/lists/* # Hugging Face Spaces Docker runtime expects the app on this port. EXPOSE 7860 COPY start.sh /start.sh RUN chmod +x /start.sh ENTRYPOINT ["/start.sh"]