# Base image FROM python:3.10-slim # Install unzip RUN apt-get update && apt-get install -y unzip # Create app directory WORKDIR /app # Copy and unzip static site COPY out.zip /app/ RUN unzip out.zip -d /app/site # Expose port for HF Spaces EXPOSE 7860 # Start simple HTTP server CMD ["python3", "-m", "http.server", "7860", "--directory", "/app/site"]