Skip to content

Commit

Permalink
enforce python version
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenSpiegel committed Apr 22, 2024
1 parent f13a144 commit 148e67c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion torchserve/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ RUN apt-get update && \
DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends -y \
ca-certificates \
curl \
python3-pip \
vim \
sudo \
default-jre \
Expand All @@ -17,6 +16,9 @@ RUN apt-get update && \
build-essential \
&& rm -rf /var/lib/apt/lists/*

RUN conda install python=3.8.13 -y


# install python dependencies
RUN pip install openmim
RUN pip install torch==2.0.0
Expand Down

0 comments on commit 148e67c

Please sign in to comment.