From cd4685f856de881be5c12d55d6a7f2b15eb8f1c5 Mon Sep 17 00:00:00 2001 From: "iVampireSP.com" Date: Tue, 23 Jan 2024 22:26:04 +0800 Subject: [PATCH] Update Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 88157ee..aa1f61a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -19,8 +19,8 @@ RUN cargo build --release # build slim image FROM debian:bookworm-slim AS runtime WORKDIR /app -COPY --from=builder /app/target/release/backend_server /home/BackendServer/backend_server -COPY --from=builder /app/target/release/key_tool /home/BackendServer/key_tool +COPY --from=builder /app/target/release/backend_server /app/backend_server +COPY --from=builder /app/target/release/key_tool /app/key_tool RUN \ apt-get update && \ @@ -31,4 +31,4 @@ RUN \ apt-get autoclean && \ rm -rf /var/lib/apt/lists/* -CMD ["bash"] +CMD ["/app/backend_server"]