YuqiHuai / SORA-SVL

Local SVL Cloud
132 stars 33 forks source link

[feat] docker compose up --build -d #83

Closed looles closed 2 months ago

looles commented 3 months ago

image Hello Dr Huai, thank you very much for doing this work, I am having a problem with the installation as shown in the picture above, can you help me out? Thank you very much for your help!

YuqiHuai commented 3 months ago

Hi, thanks for posting this issue. Looks like commands to install appropriate dependency was unsuccessful. Are you running this from China? —— I am also traveling in China right now therefore unable to spend too much effort on resolving this. But I expect this to be resolved if a VPN is used.

looles commented 3 months ago

Yes, currently experiencing a lot of problems because of this, thanks to Dr Huai for his help!

vit271828 commented 2 months ago

I also encountered the same problem. I added RUN npm config set registry https://registry.npmmirror.com before RUN npm install in the server/Dockerfile and client/Dockerfile files to solve it. For example, my client/Dockerfile is as follows

FROM node
WORKDIR /app
ADD package.json /app
ADD package-lock.json /app
RUN npm config set registry https://registry.npmmirror.com
RUN npm install
COPY ./ /app
RUN npm run build --production
RUN npm install -g serve
CMD serve -s build
EXPOSE 3000
YuqiHuai commented 2 months ago

Looks like this has became a common issue and many of you have managed to solve it.