File size: 470 Bytes
312c410
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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