Skip to content

Commit

Permalink
Update Dockerfile to include python3-pip
Browse files Browse the repository at this point in the history
Added python3-pip to the list of packages in the Dockerfile to ensure that pip is available in the container environment. This is needed to manage Python package installations effectively within the Docker container and to support the subsequent pip installations of other dependencies.

#12345
  • Loading branch information
yousecjoe committed Mar 15, 2024
1 parent 4d856d1 commit 54256f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ WORKDIR /app/backend
COPY ./backend/requirements.txt ./requirements.txt

RUN apt-get update && \
apt-get install -y --no-install-recommends python3.11 ffmpeg libsm6 libxext6 pandoc netcat-openbsd && \
apt-get install -y --no-install-recommends python3.11 python3-pip ffmpeg libsm6 libxext6 pandoc netcat-openbsd && \
rm -rf /var/lib/apt/lists/*

RUN pip3 install torch torchvision torchaudio --no-cache-dir
Expand Down

0 comments on commit 54256f9

Please sign in to comment.