如何解决问题“服务无法构建” Docker

时间:2020-10-25 11:34:58

标签: docker docker-compose dockerfile

我跑步时

docker-compose -f docker-compose.yml up -d --build --remove-orphans

在第3步中,它给我一个错误:

Successfully built 43695670ac00
Successfully tagged its_clickhouse:latest
Building server
Step 1/6 : FROM alpine:3.7
 ---> 6d1ef012b567
Step 2/6 : RUN mkdir -p /opt/server/
 ---> Using cache
 ---> e1f8f4ea4eb2
Step 3/6 : COPY backend/build/server /opt/server/
ERROR: Service 'server' failed to build : COPY failed: stat /var/lib/docker/tmp/docker-builder330700186/backend/build/server: no such file or directory

P.S。我已经通过下载dmg文件在macOS上安装了Docker

0 个答案:

没有答案