Skip to content

Commit

Permalink
#49 updated venv params (#55)
Browse files Browse the repository at this point in the history
  • Loading branch information
roncewind authored Sep 28, 2023
1 parent e23352f commit bb014e4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -33,16 +33,16 @@ RUN apt update \
&& rm -rf /var/lib/apt/lists/*

# Create and activate virtual environment.

RUN python3 -m venv /app/venv
RUN python3 -m venv --without-pip /app/venv
ENV PATH="/app/venv/bin:$PATH"

# Install packages via PIP.

COPY requirements.txt .
RUN pip3 install --upgrade pip \
&& pip3 install -r requirements.txt \
&& rm requirements.txt
&& rm requirements.txt \
&& pip3 uninstall -y pip

# -----------------------------------------------------------------------------
# Stage: Final
Expand Down

0 comments on commit bb014e4

Please sign in to comment.