solid start `npm run build` hangs in docker container
Trying to dockerize a solid application, built from solid start. It seems to hang at
npm run build
step, at solid-start rendering index.html...
. Here is the docker file im using
![](https://cdn.answeroverflow.com/1139266551007150190/image.png)
33 Replies
I just run
node dist/server.js
in my docker setup and it works well.but you gotta build the first right?
oooh, you're building in the container
yeah
you are not?
yeah, I do, but it builds okay.
misread your OP
š
hmmm
what node image are you using?
node:18.16-alpine
idk why mine wont build.... š
let me try that ig. Idk if it would make a difference
Mine takes ages to build as I'm on a M2 MBP, how long have you let it sit there?
like 300s before I kill it
oh yeah, mine takes like 10 minutes
it takes like 2 seconds building it locally tho...
is solid-start really that heavy?
no, but docker ARM -> AMD64 emulation is slow as shit
are you on an ARM chip?
![](https://cdn.answeroverflow.com/1139268886580170763/image.png)
uhh good question. I got no idea lol