修改原有Dockerfile和文档中错误的端口号;Dockerfile中可以去掉 VOLUME 的声明,同时将端口暴露缩减成一行。

This commit is contained in:
Kenn Zhang
2024-02-13 03:33:44 +00:00
parent 3857c7d15b
commit c990387f7e
6 changed files with 8 additions and 16 deletions

View File

@@ -40,15 +40,6 @@ COPY . /workspace
# Copy the rest of the application
COPY . /workspace
EXPOSE 9870
EXPOSE 9871
EXPOSE 9872
EXPOSE 9873
EXPOSE 9874
VOLUME /workspace/output
VOLUME /workspace/logs
VOLUME /workspace/SoVITS_weights
EXPOSE 9871 9872 9873 9874 9880
CMD ["python", "webui.py"]