把 XH巡课 的当前可运行版本放进仓库,方便后续继续改并同步。

This commit is contained in:
itxiaohui committed 2026-11-21 12:31:01 +08:00
commit 6e5107f1b6
134 files changed
+11284

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
FROM node:24-alpine AS build
WORKDIR /src
COPY package.json package-lock.json* ./
RUN npm install
COPY . .
RUN npm run build
FROM nginx:1.27-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /src/dist /usr/share/nginx/html
EXPOSE 80