From c2dafa17c49388b868165d96b1ab6906a39b9bb7 Mon Sep 17 00:00:00 2001 From: Boaz Poolman Date: Mon, 17 Mar 2025 09:19:51 +0100 Subject: [PATCH] fix: use explicit node version for docusaurus build --- docs/Dockerfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/Dockerfile b/docs/Dockerfile index bb3ee4f..b37d565 100644 --- a/docs/Dockerfile +++ b/docs/Dockerfile @@ -2,7 +2,7 @@ # Stage 1: Base image. ## Start with a base image containing NodeJS so we can build Docusaurus. -FROM node:lts as base +FROM node:18-alpine3.18 as base ## Disable colour output from yarn to make logs easier to read. ENV FORCE_COLOR=0 ## Enable corepack. @@ -26,4 +26,4 @@ FROM prod as serve ## Expose the port that Docusaurus will run on. EXPOSE 3000 ## Run the production server. -CMD ["yarn", "serve", "--host", "0.0.0.0", "--no-open"] \ No newline at end of file +CMD ["yarn", "serve", "--host", "0.0.0.0", "--no-open"]