From 2333b50556450236d1f55d337f3499add11c0c89 Mon Sep 17 00:00:00 2001 From: usernames122 Date: Sun, 14 Sep 2025 19:34:00 +0200 Subject: [PATCH] Fix dockerfile --- Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3bfae87..5c72fd5 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,11 @@ RUN apt-get update && \ apt-get install -y nodejs && \ rm -rf /var/lib/apt/lists/* +# Enable pip +RUN bash -c 'rm -f /usr/lib/python3*/EXTERNALLY-MANAGED' + # Upgrade pip and install Python dependencies -RUN python3 -m pip install --upgrade pip && \ - python3 -m pip install boto3 pymysql +RUN python3 -m pip install boto3 pymysql # Set working directory for Node.js app WORKDIR /app