From ec5e825986ce93e516d413b2244b4cd694dbf652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carlos=20Adri=C3=A1n=20Alarc=C3=B3n?= <83436724+aladelca@users.noreply.github.com> Date: Fri, 26 Apr 2024 02:45:40 -0400 Subject: [PATCH] Add files via upload --- .../predict/src/Dockerfile.predict | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 09_model_pipeline/predict/src/Dockerfile.predict diff --git a/09_model_pipeline/predict/src/Dockerfile.predict b/09_model_pipeline/predict/src/Dockerfile.predict new file mode 100644 index 00000000..a8cc461a --- /dev/null +++ b/09_model_pipeline/predict/src/Dockerfile.predict @@ -0,0 +1,29 @@ +FROM public.ecr.aws/lambda/python:3.12 + + +COPY requirements.txt . + + +RUN pip install --no-cache-dir --upgrade pip \ + && pip install --no-cache-dir -r requirements.txt \ + && rm requirements.txt + + +##ARG D_COUNTRY=CO +##ARG D_BUCKET=belc-bigdata-models-dlk-qas + + + +ENV AWS_DEFAULT_REGION=us-east-1 + + + +COPY /src/. . + +#COPY src/.bashrc . + +##RUN source .bashrc +RUN chmod -R 0777 . + + +CMD [ "main_predict.lambda_handler" ] \ No newline at end of file