feat(foundry): productionize Cesium Map Page and platform runtime

This commit is contained in:
Codex
2026-07-16 02:25:58 +03:00
parent 1a2ca8c82c
commit 5e8c1cc3fc
41 changed files with 6977 additions and 179 deletions
+31
View File
@@ -0,0 +1,31 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json package-lock.json tsconfig.base.json ./
COPY apps ./apps
COPY packages ./packages
COPY registry ./registry
COPY scripts ./scripts
COPY server ./server
RUN npm ci
RUN npm run build
FROM node:22-alpine AS runtime
WORKDIR /app
ENV NODE_ENV=production
ENV HOST=0.0.0.0
ENV PORT=3333
COPY --from=build /app/server ./server
COPY --from=build /app/apps/catalog/dist ./apps/catalog/dist
COPY --from=build /app/registry ./registry
COPY runtime-seed ./runtime-seed
EXPOSE 3333
ENTRYPOINT ["node", "/app/server/runtime-entrypoint.mjs"]
CMD ["node", "server/catalog-server.mjs"]