Spaces:
Runtime error
Runtime error
Download Dockerfile from behaviour01/Supageusu: direct link, hf CLI and curl.
- Browser
- Download file 480 Bytes
-
https://huggingface.co/spaces/behaviour01/Supageusu/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/behaviour01/Supageusu/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/behaviour01/Supageusu/resolve/main/Dockerfile
480 Bytes
| # Use a slim official Python base image | |
| FROM python:3.10-slim | |
| # Install required system packages (optional: for time zone or curl debugging) | |
| RUN apt-get update && apt-get install -y curl && rm -rf /var/lib/apt/lists/* | |
| # Install Python dependencies | |
| RUN pip install --no-cache-dir requests | |
| # Copy the speed test script into the container | |
| COPY speedtest.py /app/speedtest.py | |
| # Set working directory | |
| WORKDIR /app | |
| # Run the script on container start | |
| CMD ["python", "speedtest.py"] |