Skip to content

Commit

Permalink
Benchmarks: Disable pip cache in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
francis-clairicia committed Sep 28, 2024
1 parent 6a6d259 commit df0a730
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions benchmark_server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,15 @@ FROM python:$PYTHON_VERSION
# This means 'do not warn about it' :)
ENV PIP_ROOT_USER_ACTION=ignore

RUN pip install --no-cache-dir -U pip
ENV PIP_NO_CACHE_DIR=true

RUN pip install -U pip

RUN mkdir -p /usr/src
COPY servers /usr/src/servers
RUN pip install --no-cache-dir -r /usr/src/servers/requirements.txt
RUN pip install -r /usr/src/servers/requirements.txt

ARG EASYNETWORK_SDIST

COPY $EASYNETWORK_SDIST /easynetwork.tar.gz
RUN pip install --no-cache-dir "/easynetwork.tar.gz"
RUN pip install "/easynetwork.tar.gz"

0 comments on commit df0a730

Please sign in to comment.