<type>(scope): <description>

[body]

[footer(s)]
This commit is contained in:
ITQ
2025-03-01 22:48:36 +03:00
parent 97ebd36b8c
commit f2803e1d10
4 changed files with 67 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
# Stage 1: Base image
FROM node:lts AS base
ENV FORCE_COLOR=0
RUN corepack enable
WORKDIR /opt/docusaurus
# Stage 2: Production build mode
FROM base AS prod
WORKDIR /opt/docusaurus
COPY . /opt/docusaurus/
RUN npm ci
RUN npm run build
# Stage 3: Serve with docusaurus serve
FROM prod AS serve
EXPOSE 3000
CMD ["npm", "run", "serve", "--", "--host", "0.0.0.0", "--no-open"]