Skip to content

Restart RIC #54

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
CalvinRodo opened this issue Aug 19, 2021 · 2 comments
Open

Restart RIC #54

CalvinRodo opened this issue Aug 19, 2021 · 2 comments

Comments

@CalvinRodo
Copy link

Similar to this issue: aws/aws-lambda-nodejs-runtime-interface-client#9

I want to be able to restart my RIC in a container when python files change.

@dltacube
Copy link

Would love to know if this can be done with the official container images from public.ecr.aws/lambda

@basarsoker
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants