mirror of
https://github.com/tursodatabase/limbo.git
synced 2025-12-23 08:21:09 +00:00
20 lines
339 B
Text
20 lines
339 B
Text
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"]
|