是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
[X] 我已经搜索过已有的issues和讨论 | I have searched the existing issues / discussions
发生了什么 | What happened
[root@iZj6cdk86wk0jx4xwoxunrZ OpenSCOW]# docker run -it --name hms hms:latest
cp: can't stat '../../version.json': No such file or directory
npm error Missing script: "serve"
npm error
npm error To see a list of scripts, run:
npm error npm run
npm error A complete log of this run can be found in: /root/.npm/_logs/2024-10-20T08_48_53_553Z-debug-0.log
[root@iZj6cdk86wk0jx4xwoxunrZ OpenSCOW]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
5bd6db6648e4 hms:latest "./entrypoint.sh" 11 seconds ago Exited (1) 9 seconds ago hms
是否已有关于该错误的issue或讨论? | Is there an existing issue / discussion for this?
发生了什么 | What happened
[root@iZj6cdk86wk0jx4xwoxunrZ OpenSCOW]# docker run -it --name hms hms:latest cp: can't stat '../../version.json': No such file or directory npm error Missing script: "serve" npm error npm error To see a list of scripts, run: npm error npm run npm error A complete log of this run can be found in: /root/.npm/_logs/2024-10-20T08_48_53_553Z-debug-0.log [root@iZj6cdk86wk0jx4xwoxunrZ OpenSCOW]# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 5bd6db6648e4 hms:latest "./entrypoint.sh" 11 seconds ago Exited (1) 9 seconds ago hms
期望结果 | What did you expect to happen
构建的容器能启动
之前运行正常吗? | Did this work before?
No response
复现方法 | Steps To Reproduce
git clone https://github.com/PKUHPC/OpenSCOW --depth=1 cd OpenSCOW
构建tag为scow:latest的镜像。如果需要修改镜像的tag,请修改-t参数的值
docker build -f docker/Dockerfile.scow -t hms . docker run -d --name hms hms:latest
运行环境 | Environment
备注 | Anything else?
No response