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