update dockerfile

This commit is contained in:
Pakin 2026-01-08 14:40:58 +07:00
parent 90856717e4
commit 9f4fb6c274

View file

@ -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