From f286f1d066da7b58e8f7bf76bc5630e92db3c578 Mon Sep 17 00:00:00 2001 From: kls Date: Sun, 5 May 2024 12:40:32 -0500 Subject: [PATCH] Update dockerfile_lambda --- Dockerfile_lambda | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Dockerfile_lambda b/Dockerfile_lambda index cf18dd9..4e711f3 100644 --- a/Dockerfile_lambda +++ b/Dockerfile_lambda @@ -7,18 +7,18 @@ RUN pip cache purge COPY ./src ${LAMBDA_TASK_ROOT} # Set up environment variables -ARG EDS_API_URL="" -ENV EDS_API_URL=$EDS_API_URL -ARG EDS_AUTH_URL="" -ENV EDS_AUTH_URL=$EDS_AUTH_URL -ARG AWS_ACCESS_KEY_ID="" -ENV AWS_ACCESS_KEY_ID=$AWS_ACCESS_KEY_ID -ARG AWS_SECRET_ACCESS_KEY="" -ENV AWS_SECRET_ACCESS_KEY=$AWS_SECRET_ACCESS_KEY -ARG INPUT_JSON_PATH="" -ENV INPUT_JSON_PATH=$INPUT_JSON_PATH -ARG GATEWAY_STAGE="" -ENV GATEWAY_STAGE=$GATEWAY_STAGE +ARG EDS_API_URL +ENV EDS_API_URL=${EDS_API_URL} +ARG EDS_AUTH_URL +ENV EDS_AUTH_URL=${EDS_AUTH_URL} +ARG AWS_ACCESS_KEY_ID +ENV AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID} +ARG AWS_SECRET_ACCESS_KEY +ENV AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY} +ARG INPUT_JSON_PATH +ENV INPUT_JSON_PATH=${INPUT_JSON_PATH} +ARG GATEWAY_STAGE +ENV GATEWAY_STAGE=${GATEWAY_STAGE} # Install the function's dependencies using file requirements.txt # from your project folder.