diff --git a/.github/workflows/test.yaml b/.github/workflows/test.yaml index cd3d109..8fb2194 100644 --- a/.github/workflows/test.yaml +++ b/.github/workflows/test.yaml @@ -56,7 +56,7 @@ jobs: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} - - name: Login to Amazon ECR + - name: Login to Amazon ECR id: login-ecr uses: aws-actions/amazon-ecr-login@v2 with: diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..c828baa --- /dev/null +++ b/Dockerfile @@ -0,0 +1,5 @@ +FROM public.ecr.aws/lambda/python:3.10 +COPY ./ ./ +COPY requirements.txt requirements.txt +RUN pip install -r ./requirements.txt +CMD ["main.handler"]