Files
turso/Dockerfile.cli
2025-07-30 11:45:24 +02:00

21 lines
339 B
Docker

FROM rust:1.88.0 as builder
WORKDIR /app
# Copy the actual source code
COPY . .
# Build the CLI binary
RUN cargo build --release --package turso_cli
# Runtime stage
FROM rust:1.88.0-slim
WORKDIR /app
# Copy the built binary
COPY --from=builder /app/target/release/tursodb /usr/local/bin/
# Set the entrypoint
ENTRYPOINT ["tursodb"]