更新UI相关部分

This commit is contained in:
焦龙言
2026-06-23 09:13:13 +08:00
parent faa09101a1
commit f213848719
29 changed files with 1990 additions and 397 deletions
+18
View File
@@ -0,0 +1,18 @@
FROM node:20-alpine AS build
WORKDIR /app
COPY frontend/package*.json ./
RUN npm ci
COPY frontend/ ./
ARG VITE_API_BASE_URL=
ENV VITE_API_BASE_URL=${VITE_API_BASE_URL}
RUN npm run build
FROM nginx:1.27-alpine
COPY frontend/nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build /app/dist /usr/share/nginx/html
EXPOSE 80