无法运行docker image'找不到Quorra'

时间:2018-12-05 12:52:07

标签: docker dockerfile quorrajs

在分配了ado之后,我能够构建我的dockerimage,但是当我尝试运行它时,出现以下错误:

$ docker run swipeimage

> uswipe-merchant@0.0.1 dev /var/app
> NODE_ENV=development quorra ride --watch --env development

sh: quorra: not found


npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! uswipe-merchant@0.0.1 dev: `NODE_ENV=development quorra ride --watch --env development`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the uswipe-merchant@0.0.1 dev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /root/.npm/_logs/2018-12-05T10_01_14_455Z-debug.log

我尝试将RUN npm install quorra添加到我的docker文件中,以确保安装了Quorra,但仍然出现错误。

1 个答案:

答案 0 :(得分:0)

终于明白了,我在看Quorra文档,然后我改变了

RUN npm install quorra

RUN npm install -g quorra-cli

现在可以使用了!

谢谢所有