From ab3b2bb1d0949e686122428ce334d4d5ed0d8e9b Mon Sep 17 00:00:00 2001 From: Michael Duong Date: Sun, 2 Nov 2025 12:03:24 +0000 Subject: [PATCH] adjust change yum to dnf --- deployment/Dockerfile.prediction.lambda | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deployment/Dockerfile.prediction.lambda b/deployment/Dockerfile.prediction.lambda index 22acf57..ff4d5d0 100644 --- a/deployment/Dockerfile.prediction.lambda +++ b/deployment/Dockerfile.prediction.lambda @@ -2,14 +2,14 @@ FROM public.ecr.aws/lambda/python:3.12 # Set the working directory WORKDIR ${LAMBDA_TASK_ROOT} -ENV PYTHONPATH "${PYTHONPATH}:${LAMBDA_TASK_ROOT}" +ENV PYTHONPATH="${PYTHONPATH}:${LAMBDA_TASK_ROOT}" # Environment variables ARG RUNTIME_ENVIRONMENT ENV RUNTIME_ENVIRONMENT=${RUNTIME_ENVIRONMENT} # Install necessary build tools - required to test locally -RUN yum install -y gcc python3-devel gcc-c++ +RUN dnf install -y gcc python3-devel gcc-c++ # Install python packages COPY modules/ml-pipeline/src/pipeline/requirements/predictions/requirements.txt ./requirements.txt