Spaces:
Running
Running
File size: 442 Bytes
01ee73c |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
FROM stepfun2025/vllm:step-audio-2-v20250909
WORKDIR /root/app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 复制应用文件
COPY app.py .
COPY start_gradio.sh .
# 创建模型目录
RUN mkdir -p /root/models
# 设置脚本可执行权限
RUN chmod +x start_gradio.sh
# 暴露 Gradio 端口
EXPOSE 7860
# 设置环境变量
ENV VLLM_ALLOW_LONG_MAX_MODEL_LEN=1
# 启动脚本
CMD ["./start_gradio.sh"] |