From 9f4fb6c274cb1436cd9b97a9561d5ae67cd94011 Mon Sep 17 00:00:00 2001 From: Pakin Date: Thu, 8 Jan 2026 14:40:58 +0700 Subject: [PATCH] update dockerfile --- Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 1b4abed..442836b 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,8 @@ RUN apt update && apt install -y \ curl \ pkg-config \ ca-certificates \ - protobuf-compiler + protobuf-compiler \ + zlib1g # Copy dependency files first for better caching COPY Cargo.toml Cargo.lock ./ @@ -23,6 +24,7 @@ COPY tbm-proto ./tbm-proto RUN curl -X GET https://pakin-inspiron-15-3530.tail110d9.ts.net/pakin/tbm-git-repo-service/releases/download/config/.tbcfg -o .tbcfg # Build the application +ENV RUSTFLAGS="-C target-feature=+crt-static" RUN cargo build --release # Builder