feat: Update Dockerfile to ctranslate 3.20.0 (#460)

release-0.2 v0.1.2
Meng Zhang 2023-09-19 14:12:35 +08:00 committed by GitHub
parent de3a2271d6
commit 61ade26545
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1,4 +1,4 @@
FROM ghcr.io/opennmt/ctranslate2:3.17.1-ubuntu20.04-cuda11.2 as source
FROM ghcr.io/opennmt/ctranslate2:3.20.0-ubuntu20.04-cuda11.2 as source
FROM nvidia/cuda:11.2.2-cudnn8-devel-ubuntu20.04 as builder
ENV CTRANSLATE2_ROOT=/opt/ctranslate2
@ -33,7 +33,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
cargo build --features link_shared --release && \
cp target/release/tabby /opt/tabby/bin/
FROM ghcr.io/opennmt/ctranslate2:3.17.1-ubuntu20.04-cuda11.2
FROM ghcr.io/opennmt/ctranslate2:3.20.0-ubuntu20.04-cuda11.2
RUN apt-get update && \
apt-get install -y --no-install-recommends \