Files
Distributed-Prometheus/central-server/apps/topology-editor/Dockerfile
jack ab1515dffb refactor: config/apps 目录重组、文档重构、架构图收窄
- 中央:config/(prometheus,alertmanager,grafana)、apps/(tile-cache,topology-editor)
- 边缘:config/(vmagent,blackbox,targets)、apps/(onvif-exporter)
- env: TRAEFIK_PROVIDER、prometheus/env.example 详细说明
- 文档:README/doc 重构,EDGE_CACHE 合并到 EDGE_AGENT_CONFIG
- targets.csv 更新流程说明,ARCHITECTURE 图收窄

Made-with: Cursor
2026-02-28 22:05:43 -05:00

17 lines
435 B
Docker
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# GPS 标注助手H5 采集 GPS + 编辑 targets.csv构建上下文为 central-server
FROM node:20-alpine
WORKDIR /app
COPY apps/topology-editor/package.json ./
RUN npm install --production
COPY apps/topology-editor/server.js ./
COPY apps/topology-editor/public ./public
ENV PORT=4080
EXPOSE 4080
# 运行时由 docker-compose 挂载 edge-agent/config 到 /config并设置 CONFIG_DIR=/config
CMD ["node", "server.js"]