Skip to content

Commit c008c7a

Browse files
authored
Merge pull request #1725 from ssuvamm/fix/docker-oom
fix: increase Node.js memory limit in Docker build
2 parents f0aa58c + 927d8bc commit c008c7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ ENV WRANGLER_SEND_METRICS=false \
5555
RUN mkdir -p /root/.config/.wrangler && \
5656
echo '{"enabled":false}' > /root/.config/.wrangler/metrics.json
5757

58-
RUN pnpm run build
58+
RUN node --max-old-space-size=4096 node_modules/.bin/pnpm run build
5959

6060
CMD [ "pnpm", "run", "dockerstart"]
6161

0 commit comments

Comments
 (0)