If you have a Docker based Lambda that is defined in some directory and there are assets that the Lambda needs in the parent directory, from_image_asset() takes directory and file parameters, so you can select the parent directory as well as the specific Dockerfile that describes the environment for the Lambda.

Here is an example folder structure:

CDK_infrastructure/
    lambdas/
        lambda_one.py
        lambda_two.py
        lambda_pkg/
            ...
        docker_lambda/
            Dockerfile

And here is how you would set this up in your stack definition:

docker_lambda = _lambda.DockerImageFunction(
    self,
    "lambda-name",
    code=_lambda.DockerImage.Code.from_image_asset(
        directory="./lambdas",
        file="./docker_lambda/Dockerfile"
    )
)

In the Dockerfile, you can then copy these files as needed into your Lambda function directory where the working directory is the one passed into the directory parameter:

COPY lambda_one.py lambda_pkg/ ${FUNCTION_DIR}