# 2026-04-08 update: HF infra confirmed Docker Spaces no longer need to drop to # UID 1000 — buckets are mounted to be writable by root, which is now the # intended default for Docker SDK Spaces (policy not yet publicly documented). # This Dockerfile is the "follow-up test": same probe code, same bucket, but # we stay as root for the runtime. Expectation: all probes that failed under # UID 1000 should now pass. FROM python:3.12-slim WORKDIR /app COPY . /app EXPOSE 7860 CMD ["python", "-u", "app.py"]