SolidJSS
SolidJSโ€ข3y agoโ€ข
50 replies
the magic guy

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

FROM node:alpine3.18 AS build
COPY package* .
RUN npm ci

COPY . .

ENV DOCKER=true
RUN npm run build
CMD ["npm", "run", "start"]
image.png
Was this page helpful?