Step-Audio-R1 / Dockerfile
moevis's picture
Update Dockerfile
8d40573 verified
raw
history blame
496 Bytes
FROM stepfun2025/vllm:step-audio-2-v20250909
WORKDIR /root/app
RUN chown root:root /root/app && chmod 755 /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"]