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