Spaces:
Sleeping
Sleeping
Clement Vachet
commited on
Commit
·
c2555b8
1
Parent(s):
375e6f0
Add docker file
Browse files- Dockerfile +10 -0
Dockerfile
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
# Dockerfile
|
| 2 |
+
FROM public.ecr.aws/lambda/python:3.11
|
| 3 |
+
|
| 4 |
+
# Copy function code
|
| 5 |
+
COPY . ${LAMBDA_TASK_ROOT}
|
| 6 |
+
|
| 7 |
+
# Install dependencies
|
| 8 |
+
RUN pip install -r requirements.txt --target "${LAMBDA_TASK_ROOT}"
|
| 9 |
+
|
| 10 |
+
CMD ["lambda_function.lambda_handler"]
|