Skip to content

Commit

Permalink
Merge pull request #284 from LaurenSpiegel/test-run
Browse files Browse the repository at this point in the history
enforce python version
  • Loading branch information
hjessmith authored Jul 11, 2024
2 parents 94d2ff0 + 148e67c commit 981283a
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 981283a

Please sign in to comment.