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?

preguntada hace 2 años447 visualizaciones
1 Respuesta
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
respondido hace 2 años

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas