pin node version for docusaurus build (#2177)

Signed-off-by: ollevche <ollevche@gmail.com>
This commit is contained in:
Oleksandr Levchenkov 2024-11-19 10:45:02 +02:00 committed by GitHub
parent 52cc91c87a
commit e4f685d12b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,7 +8,7 @@ FROM alpine AS parent
RUN apk add git RUN apk add git
RUN git clone --recurse-submodules https://github.com/opentofu/opentofu.org /work RUN git clone --recurse-submodules https://github.com/opentofu/opentofu.org /work
FROM node FROM node:22
COPY --from=parent /work /work COPY --from=parent /work /work
WORKDIR /work WORKDIR /work
RUN npm i RUN npm i