diff options
author | kaixiliu <liukaixi@chinamobile.com> | 2023-05-10 15:12:02 +0800 |
---|---|---|
committer | kaixiliu <liukaixi@chinamobile.com> | 2023-05-10 15:12:19 +0800 |
commit | 466381276d01e79896ada39656668324b8d3cb93 (patch) | |
tree | 3c305731da642728a02d08843242a6194403df62 /standalone/src/main/assembly | |
parent | 3f817c07d46958717a5317edb815a74d53c3622c (diff) |
Fix:NLP Dockerfile
Issue-ID: USECASEUI-810
Signed-off-by: kaixiliu <liukaixi@chinamobile.com>
Change-Id: Ief935cd376260cad04d2eb4e13fca4f755ab2efb
Diffstat (limited to 'standalone/src/main/assembly')
-rw-r--r-- | standalone/src/main/assembly/dockerfile | 4 |
1 files 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 && \ |