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.