Following the instructions in README.md, I directly executed . /run-server.sh, and then got the following error
=> ERROR [build_stage 6/6] RUN cargo build --release 0.3s
------
> [build_stage 6/6] RUN cargo build --release:
0.282 error: failed to load manifest for workspace member `/build/server/client/wasm`
0.282
0.282 Caused by:
0.282 failed to read `/build/server/client/wasm/Cargo.toml`
0.282
0.282 Caused by:
0.282 No such file or directory (os error 2)
------
Dockerfile:7
--------------------
5 | ADD ./pong /build/pong
6 | WORKDIR /build/server
7 | >>> RUN cargo build --release
8 |
9 | FROM ubuntu:20.04
--------------------
ERROR: failed to solve: process "/bin/sh -c cargo build --release" did not complete successfully: exit code: 101
ERROR: Service 'server' failed to build : Build failed
After tracking, it can be determined to be . /server/Dockerfile is the problem, as I encountered the same issue when manually compiling the server's image
Following the instructions in README.md, I directly executed . /run-server.sh, and then got the following error
After tracking, it can be determined to be . /server/Dockerfile is the problem, as I encountered the same issue when manually compiling the server's image