From bed6b096be61c5d7c9839d5d1fb744421e35b840 Mon Sep 17 00:00:00 2001 From: TrainDoctor Date: Tue, 23 Aug 2022 14:04:18 -0700 Subject: [PATCH] rustup is installed to root, grab it from there --- backend/entrypoint.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/entrypoint.sh b/backend/entrypoint.sh index 59eb904..0f53314 100755 --- a/backend/entrypoint.sh +++ b/backend/entrypoint.sh @@ -5,6 +5,6 @@ echo "Container's IP address: `awk 'END{print $1}' /etc/hosts`" cd /backend -$HOME/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo build --release +/root/.rustup/toolchains/stable-x86_64-unknown-linux-gnu/bin/cargo build --release mkdir -p out cp target/release/fantastic-rs out/backend \ No newline at end of file