Open CalvinRodo opened 3 years ago
Would love to know if this can be done with the official container images from public.ecr.aws/lambda
My solution to this problem is to use the handler function as a proxy in front of my actual code. I created an app with Django REST Framework, which listens to another port inside the container and configured the handler function to pass the requests to that port. Since Django does the hot-reloading, it immediately takes effect whenever I make a change.
Similar to this issue: https://github.com/aws/aws-lambda-nodejs-runtime-interface-client/issues/9
I want to be able to restart my RIC in a container when python files change.