Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
aladelca authored Apr 26, 2024
1 parent c853332 commit ec5e825
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions 09_model_pipeline/predict/src/Dockerfile.predict
Original file line number Diff line number Diff line change
@@ -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" ]

0 comments on commit ec5e825

Please sign in to comment.