diff --git a/cla-backend/Dockerfile b/cla-backend/Dockerfile index 49437bd2b..9e95220d5 100644 --- a/cla-backend/Dockerfile +++ b/cla-backend/Dockerfile @@ -4,10 +4,11 @@ FROM public.ecr.aws/lambda/python:3.7 # Copy requirements.txt -ADD requirements.txt requirements-test.txt ${LAMBDA_TASK_ROOT} +COPY requirements.txt requirements-test.txt ${LAMBDA_TASK_ROOT} # Copy function code -ADD *.py .serverless-wsgi serverless-authorizer.yml ${LAMBDA_TASK_ROOT} +COPY *.py .serverless-wsgi serverless-authorizer.yml ${LAMBDA_TASK_ROOT} +# Add the CLA library folder ADD /cla ${LAMBDA_TASK_ROOT}/cla # Install the specified packages