aboutsummaryrefslogtreecommitdiffstats
path: root/standalone
diff options
context:
space:
mode:
authorzhaoyh6 <zhaoyh6@asiainfo.com>2023-05-24 15:13:06 +0800
committerzhaoyh6 <zhaoyh6@asiainfo.com>2023-05-24 15:13:18 +0800
commite1e0ce5fdd64f7ed307007dac7e41aa6198703eb (patch)
treef387290da6ae56bc25100de9649ebb3549753e22 /standalone
parent466381276d01e79896ada39656668324b8d3cb93 (diff)
modifying the basic image version1.0.5london
Issue-ID: USECASEUI-811 Signed-off-by: zhaoyh6 <zhaoyh6@asiainfo.com> Change-Id: I6cff2b16890ab7137105eaab6aebbdd0a485963d
Diffstat (limited to 'standalone')
-rw-r--r--standalone/src/main/assembly/dockerfile3
1 files changed, 2 insertions, 1 deletions
diff --git a/standalone/src/main/assembly/dockerfile b/standalone/src/main/assembly/dockerfile
index f834be9..c6636f3 100644
--- a/standalone/src/main/assembly/dockerfile
+++ b/standalone/src/main/assembly/dockerfile
@@ -1,5 +1,5 @@
# hadolint ignore=DL3007
-FROM tensorflow/serving:latest
+FROM tensorflow/serving:2.10.0
WORKDIR /home/uuihome/uui
@@ -25,6 +25,7 @@ RUN groupadd uui -g 1000 && \
ln -sf /usr/bin/python3 /usr/bin/python && \
ln -sf /usr/bin/pip3 /usr/bin/pip && \
pip install --upgrade setuptools && \
+ pip install --upgrade pip && \
pip install wheel && \
pip install torch==1.10.1 torchvision==0.11.2+cpu torchaudio==0.10.1 --extra-index-url https://download.pytorch.org/whl/cpu && \
pip install --no-cache-dir -r requirements.txt && \