Download Dockerfile from davanstrien/bucket-sqlite-probe-docker: direct link, hf CLI and curl.
- Browser
- Download file 510 Bytes
-
https://huggingface.co/spaces/davanstrien/bucket-sqlite-probe-docker/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/davanstrien/bucket-sqlite-probe-docker/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/davanstrien/bucket-sqlite-probe-docker/resolve/main/Dockerfile
510 Bytes
| # 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"] | |