[Python] Can't deploy container image to lambda function

Discussão em 'Python' iniciado por Stack, Fevereiro 5, 2025.

  1. Stack

    Stack Membro Participativo

    I try to deploy container image to lambda function, but this error message appear


    The image manifest or layer media type for the source image <image_source> is not supported.
    ​

    here is my Dockerfile, i believe i have use the proper setup

    FROM public.ecr.aws/lambda/python:3.8

    # Install dependencies
    COPY requirements.txt ./
    RUN pip install -r requirements.txt

    # Copy function code
    COPY app/* ./

    # Set the CMD to your handler
    CMD [ "lambda_function.lambda_handler" ]

    Continue reading...

Compartilhe esta Página