Docker compose with tanstack start
Hey guys,
I am struggling to get docker working with tanstack start in DEV mode ? I keep getting this error (See attached at the bottom). I have tried to play around with the host name but with no luck. I would love some help on this π
Reproduction steps:
- follow the build from scratch guide from the docs here
- copy the dev.Dockerfile and docker-compose below.
- run
docker compose up
Here is what my dev.Dockerfile looks like:
And my docker-compose file:
Build a Project from Scratch | TanStack Router React Docs
[!NOTE] If you chose to quick start with an example or cloned project, you can skip this guide and move on to the guide. So you want to build a TanStack Start project from scratch? This guide will hel...

6 Replies
unwilling-turquoiseβ’8mo ago
I haven't tested personally but maybe you can have a look at this implementation https://discord.com/channels/719702312431386674/1238170697650405547/1323277618270830673
stormy-goldOPβ’8mo ago
awesome thanks I will give it a try
sensitive-blueβ’8mo ago
hey thatβs mine
unwilling-turquoiseβ’8mo ago
π Yeah @thibault all thanks goes to @notKamui π₯
sensitive-blueβ’8mo ago
okay i actually read the issue, and my repo doesnt solve this
after all, my docker things are for production deployment, not dev
stormy-goldOPβ’8mo ago
yeah unfortunately this doesn't solve the issue as well for me with node.