diff --git a/dockerfile b/dockerfile index bd38667..149437a 100644 --- a/dockerfile +++ b/dockerfile @@ -30,7 +30,7 @@ RUN sudo apt install -y build-essential zlib1g-dev libncurses5-dev libgdbm-dev l tar -xf Python-3.12.*.tgz && \ cd Python-3.12.*/ && \ ./configure --prefix=/usr/local --enable-optimizations --enable-shared LDFLAGS="-Wl,-rpath /usr/local/lib" && \ - make -j 2 && \ + make -j $(nproc) && \ sudo make altinstall && \ python3.12 -m pip install --user --upgrade pip && \ cd ../ && sudo rm -rf Python-3.12.*/