diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..dd3a247 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,13 @@ +FROM node:23 AS build +ENV FORCE_COLOR=0 +RUN corepack enable +WORKDIR /opt/docusaurus + +WORKDIR /opt/docusaurus +COPY . /opt/docusaurus/ +RUN npm ci +RUN npm run build + +FROM nginx:alpine +COPY --from=build /opt/docusaurus/build /usr/share/nginx/html +EXPOSE 80 \ No newline at end of file