File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed
Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -7,14 +7,19 @@ LABEL org.opencontainers.image.licenses=Apache-2.0
77ARG ENVIRONMENT=prod
88ENV ENVIRONMENT=${ENVIRONMENT}
99
10- # Initialize the augmentation_lambda directory
11- RUN mkdir -p "${LAMBDA_TASK_ROOT}/src/augmentation_lambda"
12-
1310# Install build tools for compiling C++ extensions
1411RUN microdnf install -y gcc-c++ make && microdnf clean all
1512
16- # Copy over just the pyproject.toml file and install the dependencies doing this
17- # before copying the rest of the code allows for caching of the dependencies
13+ # Copy and install workspace packages in dependency order
14+ COPY ./packages/shared-models ${LAMBDA_TASK_ROOT}/shared-models
15+ RUN pip install --no-cache-dir "${LAMBDA_TASK_ROOT}/shared-models"
16+
17+ COPY ./packages/lambda-handler ${LAMBDA_TASK_ROOT}/lambda-handler
18+ RUN pip install --no-cache-dir "${LAMBDA_TASK_ROOT}/lambda-handler"
19+
20+ COPY ./packages/augmentation ${LAMBDA_TASK_ROOT}/augmentation
21+ RUN pip install --no-cache-dir "${LAMBDA_TASK_ROOT}/augmentation"
22+
1823COPY ./packages/augmentation-lambda ${LAMBDA_TASK_ROOT}/augmentation-lambda
1924RUN pip install --no-cache-dir "${LAMBDA_TASK_ROOT}/augmentation-lambda"
2025
You can’t perform that action at this time.
0 commit comments