diff --git a/backend/docker/lambda.Dockerfile b/backend/docker/lambda.Dockerfile index 4d684f7f..8a247f84 100644 --- a/backend/docker/lambda.Dockerfile +++ b/backend/docker/lambda.Dockerfile @@ -1,5 +1,5 @@ # Pull base image -FROM arm64v8/python:3.10.12-slim-bullseye as build-image +FROM arm64v8/python:3.10.12-bullseye as build-image # Set environment variables ENV PYTHONDONTWRITEBYTECODE 1 @@ -13,7 +13,7 @@ WORKDIR var/task/Model # Install python dependencies COPY ./backend/requirements/base.txt ./backend/requirements/base.txt -#RUN pip install --upgrade pip +RUN pip install --upgrade pip # Install and clean up temp caches RUN pip install -r backend/requirements/base.txt && rm -rf /root/.cache @@ -24,7 +24,7 @@ RUN pip install -r backend/requirements/base.txt && rm -rf /root/.cache RUN pip install awslambdaric # Second stage: "runtime-image" -FROM arm64v8/python:3.10.12-slim-bullseye +FROM arm64v8/python:3.10.12-bullseye # Set work directory to the root of your project WORKDIR /var/task/Model