Step-Audio-R1 / Dockerfile
moevis's picture
Update Dockerfile
4531202 verified
raw
history blame
608 Bytes
FROM stepfun2025/vllm:step-audio-2-v20250909
RUN useradd -m -u 1000 user
WORKDIR /app
COPY --chown=user ./requirements.txt requirements.txt
RUN pip install --no-cache-dir --upgrade -r requirements.txt
COPY --chown=user . /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt
# 复制应用文件
COPY app.py .
COPY start_gradio.sh .
# 创建模型目录
RUN mkdir -p /app/models
# 设置脚本可执行权限
RUN chmod +x start_gradio.sh
# 暴露 Gradio 端口
EXPOSE 7860
# 设置环境变量
ENV VLLM_ALLOW_LONG_MAX_MODEL_LEN=1
# 启动脚本
CMD ["./start_gradio.sh"]