Skip to content

Commit

Permalink
Docker image minification shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Davidson committed Oct 26, 2023
1 parent 57a7515 commit f408a97
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions images/api-base/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
FROM nvidia/cuda:12.2.2-runtime-ubuntu22.04
RUN apt-get update && \
apt-get install -y python3-pip python3-dev && \
rm -rf /var/lib/apt/lists/*

RUN pip install --no-cache-dir vllm
FROM nvidia/cuda:12.2.2-runtime-ubi8
RUN dnf install -y python3.11-pip && dnf clean all
RUN python3.11 -m pip install --no-cache-dir vllm && python3.11 -m pip cache purge

0 comments on commit f408a97

Please sign in to comment.