update dockerfile

This commit is contained in:
binary-husky
2024-05-30 12:44:17 +00:00
parent cb16941d01
commit beda56abb0

View File

@@ -16,6 +16,10 @@ RUN echo '[global]' > /etc/pip.conf && \
WORKDIR /gpt
# TTS相关功能
RUN apt update && apt install ffmpeg -y
# 安装大部分依赖利用Docker缓存加速以后的构建 (以下三行,可以删除)
COPY requirements.txt ./
RUN pip3 install -r requirements.txt