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 3e8ead7 commit c154b17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions base.dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,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 @@ -17,7 +17,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 c154b17

Please sign in to comment.