Skip to content

Commit c2dafa1

Browse files
committed
fix: use explicit node version for docusaurus build
1 parent 8c83913 commit c2dafa1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
# Stage 1: Base image.
44
## Start with a base image containing NodeJS so we can build Docusaurus.
5-
FROM node:lts as base
5+
FROM node:18-alpine3.18 as base
66
## Disable colour output from yarn to make logs easier to read.
77
ENV FORCE_COLOR=0
88
## Enable corepack.
@@ -26,4 +26,4 @@ FROM prod as serve
2626
## Expose the port that Docusaurus will run on.
2727
EXPOSE 3000
2828
## Run the production server.
29-
CMD ["yarn", "serve", "--host", "0.0.0.0", "--no-open"]
29+
CMD ["yarn", "serve", "--host", "0.0.0.0", "--no-open"]

0 commit comments

Comments
 (0)