mirror of https://github.com/Mai-with-u/MaiBot.git
build(Dockerfile): 升级 pip 以确保安全性和性能- 在安装依赖之前,通过运行 "pip install --upgrade pip"来升级 pip
- 这样可以确保使用最新版本的 pip,减少潜在的安全漏洞和性能问题pull/629/head
parent
852ef8e56d
commit
6a76d14c7d
|
|
@ -9,6 +9,7 @@ COPY requirements.txt .
|
|||
COPY maim_message /maim_message
|
||||
|
||||
# 安装依赖
|
||||
RUN pip install --upgrade pip
|
||||
RUN pip install -e /maim_message
|
||||
RUN pip install --upgrade -r requirements.txt
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue