非pypi包加入COPY

This commit is contained in:
MengDanzz 2023-06-07 09:18:57 +08:00 committed by GitHub
parent 6bc91bd02e
commit 9aafb2ee47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,7 @@ WORKDIR /gpt
# 安装依赖
COPY requirements.txt ./
COPY ./docs/gradio-3.32.2-py3-none-any.whl ./docs/gradio-3.32.2-py3-none-any.whl
RUN pip3 install -r requirements.txt
# 装载项目文件
COPY . .