From 37349cb2a2990aa3c0b2f5147e95c6cf1d6a1a65 Mon Sep 17 00:00:00 2001 From: lungsangg Date: Wed, 20 Nov 2024 10:50:34 +0530 Subject: [PATCH] docker_file_updated --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index ed4f9c7535..f008bb1acf 100644 --- a/Dockerfile +++ b/Dockerfile @@ -20,6 +20,10 @@ COPY ./static/js ./static/js RUN npm run setup RUN npm run build-prod +# Install system dependencies for Pillow and Python 3.12 +RUN apt-get update && apt-get install -y \ + software-properties-common + # Add the repository for Python 3.12 and install it RUN add-apt-repository ppa:deadsnakes/ppa && apt-get update && \ apt-get install -y python3.12 python3.12-venv python3.12-dev