File size: 510 Bytes
d6f0c1f
 
 
 
 
 
e1eb5a6
 
d6f0c1f
e1eb5a6
d6f0c1f
e1eb5a6
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
# 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"]