File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed
Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1- name : Update Base Image for AWS Lambda and push to DockerHub
1+ name : Build and Push AWS Lambda Base Image
22
33on :
44 push :
Original file line number Diff line number Diff line change 11ARG PYTHON_VERSION
22
3- # Base image is Python 3.X provided by AWS Lambda in Docker Hub
3+ # Base image is Python 3.8/3.9/3.10/3.11/3.12 provided by AWS Lambda in Docker Hub
44FROM public.ecr.aws/lambda/python:${PYTHON_VERSION}
55
66WORKDIR /app
77
88# These are visible, the image is public so secrets would be accessible anyways
99# We'd like these to be available if any evaluation function needs it...
10- # TODO: Find a better way to do thi
10+ # TODO: ~Find a better way to do this~
11+ # TODO: We can probably use docker secrets, let's see...
1112ARG INVOKER_ID
1213ARG INVOKER_KEY
1314ARG INVOKER_REGION
1415
15- ENV INVOKER_ID=${INVOKER_ID}\
16- INVOKER_KEY=${INVOKER_KEY}\
17- INVOKER_REGION=${INVOKER_REGION}
16+ ENV INVOKER_ID=${INVOKER_ID}
17+ ENV INVOKER_KEY=${INVOKER_KEY}
18+ ENV INVOKER_REGION=${INVOKER_REGION}
1819
1920# Install backend dependencies
2021COPY requirements.txt base_requirements.txt
You can’t perform that action at this time.
0 commit comments