是否可以将多个平台部署到AWS?
我有一个 PHP 应用程序,我还想运行一个小的 python 脚本。
我看到 PHP 平台默认安装 Python,但是使用eb deploy
AWS 没有接听requirements.txt
并安装依赖项。
我已经尝试安装requirements.txt
手动尝试安装时挂起lxml
。
我还尝试添加配置文件:
option_settings:
aws:elasticbeanstalk:container:python:
WSGIPath: application.py
NumProcesses: 3
NumThreads: 20
But now eb deploy
抱怨:
ERROR: "option_settings" in one of the configuration files failed validation. More details to follow.
ERROR: Unknown or duplicate parameter: WSGIPath
ERROR: Unknown or duplicate parameter: NumThreads
ERROR: Unknown or duplicate parameter: NumProcesses
我相信是因为eb
认为这只是一个 PHP 应用程序。
并行运行多个平台的正确方法是什么?
通过使用解决.e扩展在部署期间在容器中运行预安装命令,这需要期间设置系统路径eb deploy https://stackoverflow.com/questions/40311939/trouble-installing-lxml-to-elastic-beanstalk
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)