some of the command from bash script is not running

0

I am running a docker image container in aws lambda (python3 env). From python handler function I am running as bash script which download node js project from s3 and then I run 'npm install' and 'npm run build'. But these two commands are not working and code not compiled. Please help me on this

Thanks

  • Do you see any error messages in the CloudWatch logs for the Lambda function?

已提问 2 年前447 查看次数
1 回答
0

You can check this article on how to deploy lambda functions with container images where you can find a pattern that shows how to deploy Lambda functions through container images, this different that running a lambda with Python 3.x environment.

profile pictureAWS
已回答 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则