FROM rust:slim-bookworm AS builder WORKDIR /usr/src/app RUN apt-get update && apt-get install -y musl-tools pkg-config libssl-dev RUN rustup target add x86_64-unknown-linux-musl COPY . . RUN cargo build --target x86_64-unknown-linux-musl --release --bin client FROM alpine:latest RUN apk add --no-cache ca-certificates RUN update-ca-certificates WORKDIR /app COPY --from=builder /usr/src/app/target/x86_64-unknown-linux-musl/release/client . # Copy config file COPY sekai-unpacker-client.yaml . CMD ["./client", "-p", "cn", "-p", "jp"] EXPOSE 3000