Spaces:
Sleeping
Sleeping
Download Dockerfile from StarrySkyWorld/Qwen-ASR2API: direct link, hf CLI and curl.
- Browser
- Download file 470 Bytes
-
https://huggingface.co/spaces/StarrySkyWorld/Qwen-ASR2API/resolve/main/Dockerfile
- Command line
-
hf download hf://spaces/StarrySkyWorld/Qwen-ASR2API/Dockerfile
-
curl -L -o Dockerfile https://huggingface.co/spaces/StarrySkyWorld/Qwen-ASR2API/resolve/main/Dockerfile
470 Bytes
| FROM ghcr.io/astral-sh/uv:python3.13-alpine | |
| ENV PYTHONUNBUFFERED=1 \ | |
| UV_COMPILE_BYTECODE=1 \ | |
| UV_LINK_MODE=copy \ | |
| PATH="/app/.venv/bin:/root/.local/bin:$PATH" | |
| RUN apk add --no-cache bash git | |
| WORKDIR /app | |
| RUN git clone --depth=1 --recursive https://github.com/aahl/qwen-asr2api.git . | |
| RUN --mount=type=cache,target=/root/.cache/uv \ | |
| uv sync --locked --no-dev | |
| CMD qwen3asr2api | |
| HEALTHCHECK --interval=1m --start-period=10s CMD nc -zn 0.0.0.0 80 || exit 1 |