我正在用Docker制作我的python Django应用程序的简单图像。但在构建容器的末尾,它会抛出下一个警告(我是在Ubuntu 20.04上构建它的): WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead 为什么在我的镜像中安装Python requirements时会
浏览 3.4K编辑于 2021/09/19 17:39得票数 68.7M
回答已采纳