aliyun-flask # 业务名称模块名称 # 如果只想针对 framework 下面的业务进行相关操作可以在命令行中加上 framework例如: # 只对framework进行构建:s framework build # 如果不带有 framework 而是直接执行 s build工具则会对当前Yaml下所有和 framework 平级的业务模块如有其他平级的模块例如下面
This YAML file is used for deploying an application named "Aliyun-flask" using the Alibaba Cloud Function Compute (FC) component. The application is a Flask web and API. The file defines the properties of the FC function, such as its name, description, code URI, CPU, memory size, disk size, runtime, and handler. It also specifies the log configuration for the function, which includes the log project, logstore, and log rules. Additionally, the file includes a custom section that installs the "libc6-dev" package using the "apt-get" command. The file also defines pre-deploy actions to be executed before the deployment and post-deploy actions to be executed after the deployment. The pre-deploy action installs the required Python packages using the "pip3" command
原文地址: http://www.cveoy.top/t/topic/gSBi 著作权归作者所有。请勿转载和采集!