Skip to content

Commit

Permalink
Use default python
Browse files Browse the repository at this point in the history
  • Loading branch information
kumaranvpl committed Nov 9, 2023
1 parent 5655977 commit e5ce14a
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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/*
Expand All @@ -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
Expand Down

0 comments on commit e5ce14a

Please sign in to comment.