From 07238dd50304928b32becfb47b4540ab08cb5b20 Mon Sep 17 00:00:00 2001 From: Anduin Date: Sun, 2 Jun 2024 06:15:16 +0000 Subject: [PATCH] chore: Update Dockerfile to remove node_modules during build --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7add50299c..9fbece6c6a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -10,7 +10,7 @@ RUN node ./.github/readme-generate.js FROM hub.aiursoft.cn/python:3.11 as python-env WORKDIR /app COPY --from=node-env /app . -RUN pip install -r requirements.txt +RUN pip install -r requirements.txt && rm node_modules -rf RUN mkdocs build --strict # ============================