Skip to content

Commit 2c46390

Browse files
author
LorenzoTettamanti
committed
updated Dockerfiles: Updated agent dockerfile and identity dockerfile.
1 parent 329a0bd commit 2c46390

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

core/api/Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ COPY . .
2424

2525
# Fetch dependencies and build release
2626
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
2929

3030
# Phase 2: Final minimal image
3131
FROM ubuntu:24.04
@@ -44,7 +44,7 @@ WORKDIR /usr/src/cortexbrain-agent
4444

4545
# Copy the compiled binary
4646
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
4848

4949
# Copy configuration files
5050
COPY conntracker /usr/src/cortexbrain-agent/conntracker

core/src/components/identity/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ RUN apt-get update && apt-get install -y \
2323
WORKDIR /usr/src/cortexbrain-identity-service
2424

2525
# 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
2727

2828
# Copy configuration files
2929
COPY conntracker /usr/src/cortexbrain-identity-service/conntracker

0 commit comments

Comments
 (0)