We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c2ae6d commit eb44f55Copy full SHA for eb44f55
deployment/Dockerfile
@@ -28,7 +28,7 @@ RUN update-alternatives --install /usr/local/bin/pip pip /usr/local/bin/pip3 1
28
29
RUN pip install -U pip setuptools
30
31
-RUN pip install --no-cache-dir torch torchvision torchserve
+RUN pip install --no-cache-dir torch==1.7.0+cpu torchvision==0.8.1+cpu torchserve==0.2.0 -f https://download.pytorch.org/whl/torch_stable.html
32
33
RUN useradd -m model-server
34
@@ -50,4 +50,4 @@ USER model-server
50
WORKDIR /home/model-server
51
ENV TEMP=/home/model-server/tmp
52
ENTRYPOINT ["/usr/local/bin/dockerd-entrypoint.sh"]
53
-CMD ["serve"]
+CMD ["serve"]
0 commit comments