Files
memvid--memvid/docker/core/Dockerfile.dev
T
wehub-resource-sync 70cb81e982
CI / Test (macos-latest, stable) (push) Has been cancelled
CI / Test (ubuntu-latest, stable) (push) Has been cancelled
CI / Test (windows-latest, stable) (push) Has been cancelled
CI / Lint (push) Has been cancelled
chore: import upstream snapshot with attribution
2026-07-13 12:45:24 +08:00

32 lines
677 B
Docker

# Development Dockerfile for Memvid Core
FROM rust:1.92-slim-trixie AS builder
# Install development dependencies
RUN apt-get update && apt-get install -y --no-install-recommends \
pkg-config \
libssl-dev \
ca-certificates \
git \
curl \
build-essential \
&& rm -rf /var/lib/apt/lists/*
WORKDIR /app
# Copy dependency files
COPY Cargo.toml Cargo.lock ./
COPY rust-toolchain.toml ./
# Install cargo-watch for development (optional)
RUN cargo install cargo-watch --locked || true
# Copy source code
COPY . .
# Set environment variables
ENV RUST_LOG=debug
ENV CARGO_TARGET_DIR=/app/target
# Default command (can be overridden)
CMD ["/bin/bash"]