From f3cd4ad5903fec0fae4542b9488143486760c766 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Wed, 4 Feb 2026 14:22:08 +0000 Subject: [PATCH] deploy lambda --- .github/workflows/deploy_terraform.yml | 4 ++-- backend/address2UPRN/Dockerfile | 7 ------- 2 files changed, 2 insertions(+), 9 deletions(-) delete mode 100644 backend/address2UPRN/Dockerfile diff --git a/.github/workflows/deploy_terraform.yml b/.github/workflows/deploy_terraform.yml index 41a551c4..6c71c11c 100644 --- a/.github/workflows/deploy_terraform.yml +++ b/.github/workflows/deploy_terraform.yml @@ -73,8 +73,8 @@ jobs: uses: ./.github/workflows/_build_image.yml with: ecr_repo: address2uprn-${{ needs.determine_stage.outputs.stage }} - dockerfile_path: backend/address2UPRN/Dockerfile - build_context: backend/address2UPRN + dockerfile_path: backend/address2UPRN/handler/Dockerfile + build_context: . secrets: AWS_ACCESS_KEY_ID: ${{ secrets.DEV_AWS_ACCESS_KEY_ID }} AWS_SECRET_ACCESS_KEY: ${{ secrets.DEV_AWS_SECRET_ACCESS_KEY }} diff --git a/backend/address2UPRN/Dockerfile b/backend/address2UPRN/Dockerfile deleted file mode 100644 index ac6af2a5..00000000 --- a/backend/address2UPRN/Dockerfile +++ /dev/null @@ -1,7 +0,0 @@ -FROM public.ecr.aws/lambda/python:3.10 - -# Copy function code -COPY main.py . - -# Set the handler -CMD ["main.handler"]