feat: complete Changan digital manuals web application with mobile layout fix

This commit is contained in:
2026-11-10 14:21:09 +01:00
commit 56e620e5e0
530 changed files with 68452 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
# ============================================================
# Stage 1: Build
# ============================================================
FROM node:20-alpine AS build
WORKDIR /app
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
RUN npm run build
# ============================================================
# Stage 2: Production Nginx Server
# ============================================================
FROM nginx:1.27-alpine
RUN rm -f /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]