收藏
回答

云托管部署失败?

环境id:prod-1gre0jx010022bea;服务名称:express-bb96;版本:express-bb96-006;状态:构建失败

回答关注问题邀请回答
收藏

2 个回答

  • 没事
    没事
    2022-04-25

    Dockerfile里改动一行:

    COPY package*.json /app/
    
    2022-04-25
    有用
    回复
  • £小江江L&F
    £小江江L&F
    2022-04-25
    [2022-04-25 14:52:22] OK: 71 MiB in 22 packages
    [2022-04-25 14:52:24] Removing intermediate container 3c34b4c8c93e
    [2022-04-25 14:52:24]  ---> b4cdd89cd86b
    [2022-04-25 14:52:24] Step 4/9 : WORKDIR /app
    [2022-04-25 14:52:24]  ---> Running in cf94f902a478
    [2022-04-25 14:52:24] Removing intermediate container cf94f902a478
    [2022-04-25 14:52:24]  ---> 2fca88f41a18
    [2022-04-25 14:52:24] Step 5/9 : COPY package*.json /app
    [2022-04-25 14:52:24] When using COPY with more than one source file, the destination must be a directory and end with a /
    script returned exit code 1
    
    2022-04-25
    有用
    回复
登录 后发表内容
问题标签