Spaces:
Running
Running
Update Dockerfile
Browse files- Dockerfile +3 -3
Dockerfile
CHANGED
|
@@ -1,8 +1,8 @@
|
|
| 1 |
FROM stepfun2025/vllm:step-audio-2-v20250909
|
| 2 |
|
| 3 |
-
WORKDIR /
|
| 4 |
|
| 5 |
-
RUN chown root:root /
|
| 6 |
|
| 7 |
COPY requirements.txt .
|
| 8 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
@@ -12,7 +12,7 @@ COPY app.py .
|
|
| 12 |
COPY start_gradio.sh .
|
| 13 |
|
| 14 |
# 创建模型目录
|
| 15 |
-
RUN mkdir -p /
|
| 16 |
|
| 17 |
# 设置脚本可执行权限
|
| 18 |
RUN chmod +x start_gradio.sh
|
|
|
|
| 1 |
FROM stepfun2025/vllm:step-audio-2-v20250909
|
| 2 |
|
| 3 |
+
WORKDIR /app
|
| 4 |
|
| 5 |
+
RUN mkdir -p /app && chown root:root /app && chmod 755 /app
|
| 6 |
|
| 7 |
COPY requirements.txt .
|
| 8 |
RUN pip install --no-cache-dir -r requirements.txt
|
|
|
|
| 12 |
COPY start_gradio.sh .
|
| 13 |
|
| 14 |
# 创建模型目录
|
| 15 |
+
RUN mkdir -p /app/models
|
| 16 |
|
| 17 |
# 设置脚本可执行权限
|
| 18 |
RUN chmod +x start_gradio.sh
|