File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -24,8 +24,8 @@ COPY . .
24
24
25
25
# Fetch dependencies and build release
26
26
RUN cargo fetch
27
- RUN cargo build -p api --release
28
- RUN cargo build -p identity --release
27
+ RUN cargo build -p cortexflow_agent_api --release
28
+ RUN cargo build -p cortexflow_identity --release
29
29
30
30
# Phase 2: Final minimal image
31
31
FROM ubuntu:24.04
@@ -44,7 +44,7 @@ WORKDIR /usr/src/cortexbrain-agent
44
44
45
45
# Copy the compiled binary
46
46
COPY --from=builder /usr/src/app/agent/target/release/agent-api /usr/local/bin/agent-api
47
- COPY --from=builder /usr/src/app/agent/target/release/identity /usr/local/bin/identity
47
+ COPY --from=builder /usr/src/app/agent/target/release/cortexflow_identity /usr/local/bin/cortexflow_identity
48
48
49
49
# Copy configuration files
50
50
COPY conntracker /usr/src/cortexbrain-agent/conntracker
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y \
23
23
WORKDIR /usr/src/cortexbrain-identity-service
24
24
25
25
# Copy the compiled binary
26
- COPY --from=builder /usr/src/app/identity-service/target/release/identity /usr/local/bin/cortexflow-identity-service
26
+ COPY --from=builder /usr/src/app/identity-service/target/release/cortexflow_identity /usr/local/bin/cortexflow-identity-service
27
27
28
28
# Copy configuration files
29
29
COPY conntracker /usr/src/cortexbrain-identity-service/conntracker
You can’t perform that action at this time.
0 commit comments