Skip to content

Commit

Permalink
[Doc] Update Dockerfile for docs build (#36108)
Browse files Browse the repository at this point in the history
Reduce memory setting for Node
Rebuild lockfile

(cherry picked from commit a2a6bb9)
  • Loading branch information
DanRoscigno authored and wanpengfei-git committed Nov 29, 2023
1 parent baee74e commit 758f3d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/docusaurus/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
FROM node:18.18.2

WORKDIR /app/docusaurus
ENV NODE_OPTIONS="--max-old-space-size=8192"
ENV NODE_OPTIONS="--max-old-space-size=4096"

RUN apt update && apt install -y neovim

EXPOSE 3000

COPY . .

RUN yarn install --frozen-lockfile
RUN yarn install

0 comments on commit 758f3d7

Please sign in to comment.