Spaces:
Sleeping
Sleeping
Commit
·
aaca445
1
Parent(s):
8c90944
Updated Dockerfile with AWS Lambda web adapter
Browse files- Dockerfile +4 -0
Dockerfile
CHANGED
|
@@ -1,5 +1,9 @@
|
|
| 1 |
FROM public.ecr.aws/docker/library/python:3.11.9-slim-bookworm
|
| 2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
WORKDIR /src
|
| 4 |
|
| 5 |
COPY requirements.txt .
|
|
|
|
| 1 |
FROM public.ecr.aws/docker/library/python:3.11.9-slim-bookworm
|
| 2 |
|
| 3 |
+
# Install Lambda web adapter in case you want to run with with an AWS Lamba function URL
|
| 4 |
+
COPY --from=public.ecr.aws/awsguru/aws-lambda-adapter:0.8.3 /lambda-adapter /opt/extensions/lambda-adapter
|
| 5 |
+
|
| 6 |
+
|
| 7 |
WORKDIR /src
|
| 8 |
|
| 9 |
COPY requirements.txt .
|