[英]AWS Elastic Beanstalk Django - What happens first when deploying to EB, pip install -r requirements.txt or commands in configuration file
When deploying to the Elastic Beanstalk, in what order are all the dependencies installed? 部署到Elastic Beanstalk时,所有依赖项的安装顺序是什么? For one part, I have all my project dependencies in requirements.txt.
对于一部分,我在requirements.txt中拥有所有项目依赖项。 This includes
PIL
. 这包括
PIL
。 But for PIL
I need to install libjpeg and other libraries as such (this is in .ebextensions/myapp.config 但对于
PIL
我需要安装libjpeg和其他库(这是在.ebextensions / myapp.config中)
packages:
yum:
libjpeg-devel: []
freetype-devel: []
zlib-devel: []
... rest of config file
Only problem is, if pip is run first, I would have to reinstall Pillow which I do not know how to do 唯一的问题是,如果首先运行pip,我将不得不重新安装Pillow,我不知道该怎么办
Documentation mentions that the Packages section is processed first. 文档提到首先处理Packages部分。
The order in which these are processed are as follows:
处理这些的顺序如下:
Packages
包
Files
档
Commands
命令
Services
服务
Container Commands
容器命令
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.