From b1e0d66db17c3052f28a298ef6f8aa68b52ce607 Mon Sep 17 00:00:00 2001 From: GuoQing Zhang Date: Tue, 20 Aug 2024 22:59:13 +0800 Subject: [PATCH] =?UTF-8?q?ci:=20=E4=BF=AE=E6=94=B9cicd=E6=8B=B7=E8=B4=9Dn?= =?UTF-8?q?ltk=E7=9A=84=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/ci.yml | 2 +- src/backend/Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3ee788f25..ea3a390e3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -99,7 +99,7 @@ jobs: # 安装 nltk pip install nltk python -c "import nltk; nltk.download('punkt'); nltk.download('averaged_perceptron_tagger')" - mv /home/runner/nltk_data/taggers ./ + mv /home/runner/nltk_data ./ cd ../../ - name: Build backend and push diff --git a/src/backend/Dockerfile b/src/backend/Dockerfile index 9207973b7..6b79e7b41 100644 --- a/src/backend/Dockerfile +++ b/src/backend/Dockerfile @@ -18,7 +18,7 @@ ENV PATH="${PATH}:/root/.local/bin" COPY ./ ./ # Install NLTK data -RUN mv -f ./taggers /root/nltk_data/ +RUN mv -f ./nltk_data /root/nltk_data/ RUN python -m pip install --upgrade pip && \ pip install shapely==2.0.1