chore: Update Dockerfile to remove node_modules during build
This commit is contained in:
@@ -10,7 +10,7 @@ RUN node ./.github/readme-generate.js
|
|||||||
FROM hub.aiursoft.cn/python:3.11 as python-env
|
FROM hub.aiursoft.cn/python:3.11 as python-env
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
COPY --from=node-env /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
|
RUN mkdocs build --strict
|
||||||
|
|
||||||
# ============================
|
# ============================
|
||||||
|
|||||||
Reference in New Issue
Block a user