Skip to content

Commit

Permalink
chore: Update Dockerfile to remove node_modules during build
Browse files Browse the repository at this point in the history
  • Loading branch information
Anduin2017 committed Jun 2, 2024
1 parent 8b41972 commit 07238dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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

# ============================
Expand Down

0 comments on commit 07238dd

Please sign in to comment.