summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkennycallado <kennycallado@gmail.com>2022-03-03 15:25:14 +0100
committerGitHub <noreply@github.com>2022-03-03 09:25:14 -0500
commit575ace35a5eb3e22cdd14e02fdc10d522d098910 (patch)
treed16e55c25ed86478d9d8d7488dae6896e8be9e42
parent18d4a4c8a7c5060ed0f5094c958afe4f800e91d4 (diff)
Fixed copy instruction to use the binary from the builder container (#152)
Co-authored-by: kennycallado <kennycallado@hotmail.com>
-rw-r--r--Dockerfile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Dockerfile b/Dockerfile
index e439316..c5251be 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -9,7 +9,7 @@ RUN rustup target add x86_64-unknown-linux-musl \
FROM busybox:latest
-COPY target/x86_64-unknown-linux-musl/release/joshuto /bin/joshuto
+COPY --from=builder /usr/src/joshuto/target/x86_64-unknown-linux-musl/release/joshuto /bin/joshuto
WORKDIR /root