Qwen-ASR2API / Dockerfile
StarrySkyWorld's picture
Create Dockerfile
312c410 verified
raw
history blame contribute delete
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