Skip to content

Commit

Permalink
[COST-5295] create and update virtual env in one layer (#129)
Browse files Browse the repository at this point in the history
  • Loading branch information
djnakabaale authored Aug 12, 2024
1 parent 95fe16c commit 53d6ab8
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,10 @@ RUN INSTALL_PKGS="python3.11 python3.11-devel glibc-langpack-en gcc-c++ shadow-u
# Create a Python virtual environment for use by any application to avoid
# potential conflicts with Python packages preinstalled in the main Python
# installation.
RUN python3.11 -m venv /pipenv-venv
RUN python3.11 -m venv /pipenv-venv \
&& /pipenv-venv/bin/python -m pip install --upgrade pip setuptools \
&& /pipenv-venv/bin/python -m pip install pipenv
ENV PATH="/pipenv-venv/bin:$PATH"
# Install pipenv into the virtual env
RUN \
pip install --upgrade pip && \
pip install pipenv

WORKDIR ${APP_ROOT}

Expand Down

0 comments on commit 53d6ab8

Please sign in to comment.