1
0
mirror of synced 2025-12-12 09:24:24 +08:00

chore: Update Dockerfile to remove node_modules during build

This commit is contained in:
Anduin
2024-06-02 06:15:16 +00:00
parent 5e63f1ca2b
commit cdc5feb795

View File

@@ -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
# ============================