Skip to content

Commit

Permalink
ci: optimize Dockerfile to reduce image size
Browse files Browse the repository at this point in the history
  • Loading branch information
Tverous committed Oct 31, 2024
1 parent 2a7e558 commit 25a83d1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base-devel.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ENV SHELL=/bin/bash
WORKDIR /app/

# Build with some basic utilities
RUN apt-get update && apt-get install -y \
RUN apt-get update && apt-get install -y --no-install-recommends \
python3-pip \
apt-utils \
vim \
Expand All @@ -18,7 +18,7 @@ RUN apt-get update && apt-get install -y \
RUN ln -s /usr/bin/python3 /usr/bin/python

# build with some basic python packages
RUN pip install \
RUN pip install --no-cache-dir \
numpy \
torch \
torchvision \
Expand Down

0 comments on commit 25a83d1

Please sign in to comment.