前端部分更新

This commit is contained in:
2026-06-26 17:39:57 +08:00
parent 628a63a250
commit d38cbdbf07
165 changed files with 35393 additions and 284 deletions
+21
View File
@@ -0,0 +1,21 @@
# ============================================================
# 离线部署 Dockerfile (内网服务器使用)
# 前提:已将 dist/ 目录拷贝到当前路径
# docker build -f Dockerfile.offline -t weather-data-ui .
# ============================================================
FROM nginx:alpine
LABEL maintainer="weather-data"
LABEL description="Weather Data System - Frontend UI (offline)"
RUN rm -f /etc/nginx/conf.d/default.conf
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY dist /usr/share/nginx/html
EXPOSE 80
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
CMD wget -qO- http://localhost/ || exit 1
CMD ["nginx", "-g", "daemon off;"]