# Simple static server using Python for Hugging Face Spaces (Docker SDK) FROM python:3.11-slim ENV PYTHONDONTWRITEBYTECODE=1 ENV PYTHONUNBUFFERED=1 ENV PORT=7860 WORKDIR /app COPY . /app EXPOSE 7860 # Serve static files from /app at $PORT CMD ["/bin/sh", "-lc", "python -m http.server ${PORT:-7860}"]