---> Running in 4d4962fced93
: not foundndle.sh: line 2:
: not foundndle.sh: line 88:
The command '/bin/sh -c sh ./server-handle.sh' returned a non-zero code: 127
修改项目目录下的./dockerfile_server文件:
修改前:
RUN cat ./config.yaml
COPY .docker-compose/shell/server-handle.sh .
RUN ls -al
RUN sh ./server-handle.sh
RUN rm -f server-handle.sh
RUN cat ./config.yaml
修改后:
COPY ./.docker-compose/config/config.yaml .
RUN ls -al
RUN cat ./config.yaml
查看了server-handle.sh中的代码,暂时仅是增加一个config.yaml,所以将dockerfile_server中的如下代码修改后,错误排除
错误信息:
修改项目目录下的./dockerfile_server文件:
修改前:
修改后:
在项目目录下添加如下文件: .docker-compose\config\config.yaml