From ac7dede28a4c5fde234afba79f5260d8c29ef4fa Mon Sep 17 00:00:00 2001 From: Rhett Reisman Date: Sat, 27 Jul 2024 23:05:48 -0500 Subject: [PATCH] Delete Dockerfile --- Dockerfile | 25 ------------------------- 1 file changed, 25 deletions(-) delete mode 100644 Dockerfile diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index 62c6f3f..0000000 --- a/Dockerfile +++ /dev/null @@ -1,25 +0,0 @@ -FROM public.ecr.aws/lambda/python:3.9 - -WORKDIR /var/task - -COPY requirements.txt . - -RUN pip install --upgrade pip && \ - pip install --no-cache-dir -r requirements.txt - -COPY . . - -RUN pip install . && \ - mkdir -p /tmp/python && \ - pip install \ - --platform manylinux2014_x86_64 \ - --implementation cp \ - --python-version 3.9 \ - --only-binary=:all: --upgrade \ - -r requirements.txt -t /tmp/python && \ - pip install . -t /tmp/python && \ - cd /tmp/python && \ - find . -type d -name "__pycache__" -exec rm -rf {} + && \ - zip -r9 /tmp/layer.zip . - -CMD ["python3", "-m", "awslambdaric", "handler.lambda_handler"] \ No newline at end of file