FROM python:3.9-slim RUN apt-get update && apt-get install -y unzip wget curl && rm -rf /var/lib/apt/lists/* RUN useradd -m -u 1000 user USER user WORKDIR /home/user/app # QUIET download - just show start/end RUN echo "📥 Downloading game files (10GB)..." && \ wget -q --show-progress --progress=bar:force:noscroll \ "https://huggingface.co/datasets/hannabaker/et-dataset/resolve/main/et-game.zip" \ 2>&1 | tail -1 && \ echo "✅ Download complete!" # Silent extract RUN echo "📦 Extracting..." && \ unzip -qq et-game.zip && \ rm et-game.zip && \ echo "✅ Ready!" # Quick check for index.html location RUN echo "📂 Files:" && \ find . -maxdepth 2 -name "index.html" | head -1 || echo "No index.html in root" # Move files if in subfolder RUN [ -f et/index.html ] && mv et/* . || true EXPOSE 7860 CMD ["python", "-m", "http.server", "7860"]