update project structure

This commit is contained in:
geoffsee
2025-06-05 22:42:17 -04:00
parent 1270a6b0ba
commit c5b8bd812c
45 changed files with 4921 additions and 128 deletions

View File

@@ -14,11 +14,11 @@ RUN rustup target add x86_64-unknown-linux-musl
# Copy only necessary files for building
COPY Cargo.toml Cargo.lock ./
COPY src ./src
COPY crates ./crates
COPY assets ./assets
# Build with musl target for static linking
RUN cargo build --release --target x86_64-unknown-linux-musl && \
RUN cargo build -p agent-server --release --target x86_64-unknown-linux-musl && \
strip /build-context/target/x86_64-unknown-linux-musl/release/agent-server
# Stage 2: Build Bun dependencies