Skip to content

Commit fdeb0b7

Browse files
committed
fix: docs deploy
1 parent ec0ec61 commit fdeb0b7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/docs/Dockerfile

Lines changed: 3 additions & 3 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.
@@ -17,7 +17,7 @@ WORKDIR /opt/docusaurus
1717
## Copy over the source code.
1818
COPY . /opt/docusaurus/
1919
## Install dependencies with `--immutable` to ensure reproducibility.
20-
RUN yarn install --immutable
20+
RUN yarn install
2121
## Build the static site.
2222
RUN yarn build
2323

@@ -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)