Merge branch 'master' of gitlab.com:megazordpobeda/DataRush

This commit is contained in:
ITQ
2025-05-08 12:53:15 +03:00
19 changed files with 679 additions and 6268 deletions
+3 -8
View File
@@ -1,5 +1,5 @@
# Stage 1: Base image
FROM node:lts-alpine AS base
# Stage 1: Build
FROM node:lts-alpine AS builder
ENV FORCE_COLOR=0
@@ -7,11 +7,6 @@ RUN corepack enable
WORKDIR /opt/docusaurus
# Stage 2: Production build mode
FROM base AS prod
WORKDIR /opt/docusaurus
COPY . /opt/docusaurus/
RUN npm ci --omit=dev
@@ -19,7 +14,7 @@ RUN npm ci --omit=dev
RUN npm run build
# Stage 3: Serve with nginx
FROM nginx:stable-alpine AS serve
FROM nginx:1.28-alpine-slim AS serve
COPY --from=builder /opt/docusaurus/build /usr/share/nginx/html