Skip to content

Commit

Permalink
Remove duplicate pip commands
Browse files Browse the repository at this point in the history
  • Loading branch information
tariqajyusuf committed Jul 16, 2024
1 parent 111cfda commit 600c85a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ RUN apt-get update && \
# Install Python Dependencies

COPY dev-requirements.txt .
RUN pip install --user -U pip --no-cache-dir install -r dev-requirements.txt
RUN pip --no-cache-dir install --user -U -r dev-requirements.txt

# Activate a Python venv
RUN python3 -m venv /opt/fides
Expand All @@ -45,12 +45,12 @@ ENV PATH="/opt/fides/bin:${PATH}"
RUN pip --no-cache-dir --disable-pip-version-check install --upgrade pip setuptools wheel

COPY requirements.txt .
RUN pip install --no-cache-dir install -r requirements.txt
RUN pip --no-cache-dir install -r requirements.txt
COPY optional-requirements.txt .
RUN pip install --no-cache-dir install -r optional-requirements.txt
RUN pip --no-cache-dir install -r optional-requirements.txt

COPY dev-requirements.txt .
RUN pip install --no-cache-dir install -r dev-requirements.txt
RUN pip --no-cache-dir install -r dev-requirements.txt

##################
## Backend Base ##
Expand Down Expand Up @@ -171,4 +171,4 @@ RUN pip install dist/ethyca_fides-*.tar.gz

# Remove this directory to prevent issues with catch all
RUN rm -r /fides/src/fides/ui-build
USER fidesuser
USER fidesuser

0 comments on commit 600c85a

Please sign in to comment.