pritul95 / aws-lambda-container

AWS Lambda – Container
MIT License
0 stars 0 forks source link

How do I run the container locally? #2

Open grantjayy opened 2 years ago

grantjayy commented 2 years ago

I am able to get this running on AWS fine, but when trying to test locally I am not able to achieve the same result

Here's what I am doing.

1) Download aws-lambda-container folder 2) running docker build 3) docker run -p 9000:8080 <image>

It boots up as expected, but then with I curl I get a 404 response. curl "http://localhost:9000/prod/" or curl "http://localhost:9000/"

What am I missing here?

rrdlpl commented 1 year ago

@grantjayy Did you find out? I'm having the same issue

grantjayy commented 1 year ago

This was so long ago and this repo is dead that I probably figured something else out. I can't remember what though