From dcde0e26e478e695c083820447b11c3c206944b4 Mon Sep 17 00:00:00 2001 From: Ellie Huxtable Date: Wed, 28 Jan 2026 13:46:51 -0800 Subject: feat: move atuin-server to its own binary (#3112) A combined binary was an early dev decision, when I thought most users would be self hosting. It is now clear that in actual fact, most users do not self host. So let's avoid forcing every user to have a copy of the server literally linked in, and let's stop building server deps over and over. The deployment for this shouldn't change. `dist` will build a binary for this automatically, and will also add it to the installer. The latter is perhaps something we should explore changing too! ## Checks - [ ] I am happy for maintainers to push small adjustments to this PR, to speed up the review cycle - [ ] I have checked that there are no existing pull requests for the same thing --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'Dockerfile') diff --git a/Dockerfile b/Dockerfile index 24492719..ce56d202 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,7 +14,7 @@ COPY --from=planner /app/recipe.json recipe.json RUN cargo chef cook --release --recipe-path recipe.json COPY . . -RUN cargo build --release --bin atuin +RUN cargo build --release --bin atuin-server FROM debian:bookworm-20260112-slim AS runtime @@ -26,8 +26,8 @@ WORKDIR app USER atuin ENV TZ=Etc/UTC -ENV RUST_LOG=atuin::api=info +ENV RUST_LOG=atuin_server=info ENV ATUIN_CONFIG_DIR=/config -COPY --from=builder /app/target/release/atuin /usr/local/bin -ENTRYPOINT ["/usr/local/bin/atuin"] +COPY --from=builder /app/target/release/atuin-server /usr/local/bin +ENTRYPOINT ["/usr/local/bin/atuin-server"] -- cgit v1.3.1