File tree Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Expand file tree Collapse file tree 1 file changed +1
-5
lines changed Original file line number Diff line number Diff line change @@ -19,13 +19,9 @@ RUN if [ "$(printf '%s\n' "$PYTHON_VERSION" "3.11" | sort -V | head -n1)" = "3.1
1919# Combine all RUN commands into one to minimize the number of layers
2020RUN apt-get update \
2121 && apt-get install -y --no-install-recommends gcc \
22+ && pip install --upgrade pip setuptools wheel \
2223 && pip install --no-cache-dir -r requirements.txt -c https://tk.deepnote.com/constraints${PYTHON_VERSION}.txt \
2324 && apt-get purge -y gcc \
2425 && apt-get autoremove -y \
2526 && apt-get clean \
2627 && rm -rf /var/lib/apt/lists/* /root/.cache
27-
28- # We create the virtual environment in the home directory in the Dockerfile
29- # for performance improvement.
30- RUN python -m venv --system-site-packages ~/venv
31- RUN . ~/venv/bin/activate && pip install --upgrade pip setuptools
You can’t perform that action at this time.
0 commit comments