From 466381276d01e79896ada39656668324b8d3cb93 Mon Sep 17 00:00:00 2001 From: kaixiliu Date: Wed, 10 May 2023 15:12:02 +0800 Subject: Fix:NLP Dockerfile Issue-ID: USECASEUI-810 Signed-off-by: kaixiliu Change-Id: Ief935cd376260cad04d2eb4e13fca4f755ab2efb --- standalone/src/main/assembly/dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/standalone/src/main/assembly/dockerfile b/standalone/src/main/assembly/dockerfile index afa4e9a..f834be9 100644 --- a/standalone/src/main/assembly/dockerfile +++ b/standalone/src/main/assembly/dockerfile @@ -22,8 +22,8 @@ RUN groupadd uui -g 1000 && \ unzip master.zip && \ unzip uncased_L-12_H-768_A-12.zip && \ rm master.zip uncased_L-12_H-768_A-12.zip && \ - ln -s /usr/bin/python3 /usr/bin/python && \ - ln -s /usr/bin/pip3 /usr/bin/pip && \ + ln -sf /usr/bin/python3 /usr/bin/python && \ + ln -sf /usr/bin/pip3 /usr/bin/pip && \ pip install --upgrade setuptools && \ 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 && \ -- cgit 1.2.3-korg