fix: Add missing workspace members to Dockerfiles (Agent 94)
- Explicitly copy all workspace members including new load_tests, stress_tests, integration_tests - Fixes Docker build failures with 'failed to load manifest for workspace member' errors - All 4 services updated: api_gateway, trading_service, backtesting_service, ml_training_service - Replaced 'COPY . .' with explicit COPY statements for better build reliability
This commit is contained in:
@@ -19,8 +19,32 @@ WORKDIR /build
|
||||
# Copy workspace manifests
|
||||
COPY Cargo.toml Cargo.lock ./
|
||||
|
||||
# Copy entire workspace (simple direct build)
|
||||
COPY . .
|
||||
# Copy workspace members to satisfy manifest dependencies
|
||||
COPY trading_engine ./trading_engine
|
||||
COPY risk ./risk
|
||||
COPY risk-data ./risk-data
|
||||
COPY trading-data ./trading-data
|
||||
COPY tli ./tli
|
||||
COPY ml ./ml
|
||||
COPY ml-data ./ml-data
|
||||
COPY data ./data
|
||||
COPY backtesting ./backtesting
|
||||
COPY adaptive-strategy ./adaptive-strategy
|
||||
COPY common ./common
|
||||
COPY storage ./storage
|
||||
COPY model_loader ./model_loader
|
||||
COPY market-data ./market-data
|
||||
COPY database ./database
|
||||
COPY config ./config
|
||||
COPY services/backtesting_service ./services/backtesting_service
|
||||
COPY services/trading_service ./services/trading_service
|
||||
COPY services/ml_training_service ./services/ml_training_service
|
||||
COPY services/api_gateway ./services/api_gateway
|
||||
COPY services/load_tests ./services/load_tests
|
||||
COPY services/stress_tests ./services/stress_tests
|
||||
COPY services/integration_tests ./services/integration_tests
|
||||
COPY tests ./tests
|
||||
COPY migrations ./migrations
|
||||
|
||||
# Build the application
|
||||
RUN cargo build --release -p backtesting_service
|
||||
|
||||
Reference in New Issue
Block a user