From e5ce14a5ad1e4c3a0370abfc616395df54887d6c Mon Sep 17 00:00:00 2001 From: Kumaran Rajendhiran Date: Thu, 9 Nov 2023 16:46:50 +0530 Subject: [PATCH] Use default python --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index edbfd9d5..6b1699a7 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,9 +11,9 @@ ENV DEBIAN_FRONTEND noninteractive RUN apt update --fix-missing && apt upgrade --yes \ && apt install -y software-properties-common apt-utils build-essential git wget curl \ - && add-apt-repository ppa:deadsnakes/ppa \ - && apt update \ - && apt install -y --no-install-recommends python3.10-dev python3.10-distutils python3-pip python3-apt \ + # && add-apt-repository ppa:deadsnakes/ppa \ + # && apt update \ + # && apt install -y --no-install-recommends python3.10-dev python3.10-distutils python3-pip python3-apt \ && apt purge --auto-remove \ && apt clean \ && rm -rf /var/lib/apt/lists/* @@ -22,7 +22,7 @@ RUN apt update --fix-missing && apt upgrade --yes \ RUN curl -fsSL https://deb.nodesource.com/setup_18.x | bash - && apt-get install -y --no-install-recommends nodejs \ && apt purge --auto-remove && apt clean && rm -rf /var/lib/apt/lists/* -RUN update-alternatives --set python3 /usr/bin/python3.10 +# RUN update-alternatives --set python3 /usr/bin/python3.10 RUN python3 -m pip install --upgrade pip COPY migrations ./migrations