You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I inspect the API on port 8000 like I can do when running without Mangum? I have tried to include the port in CMD ["prod.main_api.handler"], but it only allowed single params compare to run with uvicorn. Anyone can help me? Thank you.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Details
I have created API by using FastAPI and handle it using Mangum. I containerized it using Dockerfile and expose it on port 8000. My CMD line will be
The handler worked well with the following output
Before I used Mangum, I can inspect the API on the connected port with the following Dockerfile line
Question
How can I inspect the API on port 8000 like I can do when running without Mangum? I have tried to include the port in
CMD ["prod.main_api.handler"]
, but it only allowed single params compare to run with uvicorn. Anyone can help me? Thank you.Beta Was this translation helpful? Give feedback.
All reactions