1
0
mirror of https://github.com/hanxi/xiaomusic.git synced 2025-12-06 14:52:50 +08:00

refactor: 处理 code review 问题'

This commit is contained in:
涵曦
2024-09-01 16:07:39 +00:00
parent 4ab3c5cbee
commit e72ae973bc
7 changed files with 47 additions and 111 deletions

View File

@@ -12,9 +12,6 @@ COPY install_dependencies.sh .
RUN bash install_dependencies.sh
FROM python:3.10-slim
RUN pip install pydub
RUN python3 -m venv /app/.venv
RUN /app/.venv/bin/pip install pydub
WORKDIR /app
COPY --from=builder /app/.venv /app/.venv
COPY --from=builder /app/ffmpeg /app/ffmpeg