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
2
2
3
3
on :
4
4
push :
Original file line number Diff line number Diff line change 1
1
ARG PYTHON_VERSION
2
2
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
4
4
FROM public.ecr.aws/lambda/python:${PYTHON_VERSION}
5
5
6
6
WORKDIR /app
7
7
8
8
# These are visible, the image is public so secrets would be accessible anyways
9
9
# 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...
11
12
ARG INVOKER_ID
12
13
ARG INVOKER_KEY
13
14
ARG INVOKER_REGION
14
15
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}
18
19
19
20
# Install backend dependencies
20
21
COPY requirements.txt base_requirements.txt
You can’t perform that action at this time.
0 commit comments