在构建我的 dockerfile 时,它一直告诉我没有目录,我什至尝试将它直接指向路径,但没有成功。 基本上是试图为我的老板学习我的 docker 方法,但甚至无法让它开始在我的 requirements.txt 中安装指定的应用程序。
步骤 6/9:运行 pip install -r requirements.txt
---> 在 34df017c7b91 中运行
无法打开需求文件:[Errno 2] 没有这样的文件或目录:'requirements.txt'
错误:服务“web”无法构建:命令“/bin/sh -c pip install -r requirements.txt”返回非零代码:1
pip
,而不是pipenv
。requirements.txt
。由于缺乏信息而关闭,希望你能成功解决这个问题
我面临同样的问题 googled 仍然我没有找到任何答案。请提出任何建议
最有用的评论
pip
,而不是pipenv
。requirements.txt
。