Skip to content

Commit

Permalink
remove pip cache to save space
Browse files Browse the repository at this point in the history
  • Loading branch information
beneisner committed May 2, 2024
1 parent e7bc32d commit bfdd1f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -43,23 +43,23 @@ WORKDIR $CODING_ROOT/code
# Copy in the requirements.
COPY requirements-gpu.txt .

RUN pip install --upgrade pip && pip install wheel==0.40.0
RUN pip install --upgrade --no-cache-dir pip && pip install --no-cache-dir wheel==0.40.0

# Install the requirements.
RUN pip install -r requirements-gpu.txt
RUN pip install --no-cache-dir -r requirements-gpu.txt

# Copy in the third-party directory.
COPY third_party third_party

# Install the third-party libraries.
RUN pip install -e third_party/ndf_robot
RUN pip install --no-cache-dir -e third_party/ndf_robot

# Copy in pyproject.toml.
COPY pyproject.toml .
RUN mkdir taxpose
RUN touch taxpose/py.typed

RUN pip install -e ".[develop]"
RUN pip install --no-cache-dir -e ".[develop]"

# Copy in the code.
COPY . .

0 comments on commit bfdd1f6

Please sign in to comment.