27 ms·
Yup! Change the `handler` and `start` command: ``` handler = "localhost:5000" ... start = "poetry run flask --app flask_poetry run -p 12345" ```
by cnuss 2y ago
Yup! Change the `handler` and `start` command:
```
handler = "localhost:5000"
...
start = "poetry run flask --app flask_poetry run -p 12345"
```
- billconan 2y agois this port publicly accessible? or the traffic is forwarded by lambda's interface?
- cnuss 2y agoIt's not publicly accessible, per-se..., there's a reverse proxy I've written 1. There's a Function URL that then creates a Lambda HTTP Event 2. There's a reverse proxy in the container that converts the Lambda HTTP Event back into a HTTP Request 3. Then the HTTP Respose is transformed back into a Lambda HTTP Event Response @billconan if you'd like, join my Discord and I'd be happy dive into details and/or provide more docs: https://scaffoldly.dev/community https://scaffoldly.dev/community