FROM python:3.12-slim
WORKDIR /app
RUN printf '<!doctype html><title>ui-spaces docker</title><h1>Hello from the ui-spaces Docker Space</h1>\n' > index.html
EXPOSE 7860
CMD ["python", "-m", "http.server", "7860", "--bind", "0.0.0.0"]
