mirror of
https://github.com/Anduin2017/HowToCook.git
synced 2025-12-17 02:34:23 +08:00
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
|
||||
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
|
||||
|
||||
# ============================
|
||||
|
||||
Reference in New Issue
Block a user