Custom routes not working self-hosted standalone

issue fixed when we add

ENV LANGGRAPH_HTTP='{"app": 
"./apps/open-swe/src/routes/app.ts:app"

}' in the docker file which is not added using the command : langgraph dockerfile -c langgraph.json ./Dockerfile .
unlike in python which add the custom route in the docker file .