diff --git a/opentrons-ai-server/Dockerfile b/opentrons-ai-server/Dockerfile index 5c3a5ec5f36d..8a4ee3b944d8 100644 --- a/opentrons-ai-server/Dockerfile +++ b/opentrons-ai-server/Dockerfile @@ -1,4 +1,4 @@ -FROM public.ecr.aws/lambda/python:3.12 +FROM --platform=linux/amd64 public.ecr.aws/lambda/python:3.12 COPY --from=public.ecr.aws/datadog/lambda-extension:57 /opt/. /opt/ diff --git a/opentrons-ai-server/deploy.py b/opentrons-ai-server/deploy.py index c33d249f4d73..21190a85e900 100644 --- a/opentrons-ai-server/deploy.py +++ b/opentrons-ai-server/deploy.py @@ -37,7 +37,7 @@ class BaseDeploymentConfig: @dataclass(frozen=True) class CrtDeploymentConfig(BaseDeploymentConfig): ECR_REPOSITORY: str = "crt-ecr-repo" - ECR_URL: str = f"{get_aws_account_id}.dkr.ecr.{get_aws_region()}.amazonaws.com" + ECR_URL: str = f"{get_aws_account_id()}.dkr.ecr.{get_aws_region()}.amazonaws.com" FUNCTION_NAME: str = "crt-api-function" IMAGE_NAME: str = "crt-ai-server"