Download Dockerfile from aidevices/arc1-example-image: direct link, hf CLI and curl.
- Browser
- Download file 635 Bytes
-
https://huggingface.co/spaces/aidevices/arc1-example-image/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/aidevices/arc1-example-image/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/aidevices/arc1-example-image/resolve/main/Dockerfile
635 Bytes
| # Image for running the example experiment on HuggingFace Jobs. | |
| # | |
| # NOTE: there is intentionally NO ENTRYPOINT/CMD that runs the script. HF Jobs | |
| # issues `python <script_path>` as the exec command (script_path defaults to | |
| # /app/train.py), so an entrypoint here would conflict with how the Job launches. | |
| FROM python:3.12-slim | |
| ENV PYTHONUNBUFFERED=1 \ | |
| PYTHONDONTWRITEBYTECODE=1 \ | |
| PYTHONPATH=/app \ | |
| HF_HUB_DISABLE_TELEMETRY=1 | |
| WORKDIR /app | |
| COPY requirements.txt . | |
| RUN pip install --no-cache-dir --upgrade pip \ | |
| && pip install --no-cache-dir -r requirements.txt \ | |
| && pip install --no-cache-dir huggingface_hub | |
| COPY . . | |