diff --git a/website/Dockerfile b/website/Dockerfile index ca2fd98d..4631b9d4 100644 --- a/website/Dockerfile +++ b/website/Dockerfile @@ -1,10 +1,8 @@ # Stage 1: Base image. ## Start with a base image containing NodeJS so we can build Docusaurus. FROM node:lts-alpine AS base -## Disable colour output from yarn to make logs easier to read. +## Disable colour output to make logs easier to read. ENV FORCE_COLOR=0 -## Enable corepack. -RUN corepack enable ## Set the working directory to `/opt/docusaurus`. WORKDIR /opt/docusaurus @@ -14,7 +12,7 @@ FROM base AS prod WORKDIR /opt/docusaurus ## Copy over the source code. COPY . /opt/docusaurus/ -## Install dependencies with `--immutable` to ensure reproducibility. +## Install dependencies from the lockfile to ensure reproducibility. RUN npm ci ## Build the static site. RUN npm run build