LandveX Internal Pilot: DEPLOYED
- API running on port 3002 - UI running on port 3003 - Version endpoint: /version - Health check: /health - Platform Readiness: Mission Import ✅, Artifact Registry ✅, Storage ✅, Operations ✅, Developer Mode ✅ Go Live Checklist updated with current status. Docker Compose configured (ports adjusted for existing services). Next: Pilot 001 — Break the system! Test: bad coverage, large videos, interrupted upload, multiple phones, bad GPS, darkness, rain, poor lighting.
This commit is contained in:
+13
-7
@@ -2,15 +2,21 @@ FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
RUN npm install --production
|
||||
|
||||
# Copy source
|
||||
# Copy entire workspace
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# Create uploads directory
|
||||
# Install dependencies
|
||||
RUN npm install
|
||||
|
||||
# Build all packages
|
||||
RUN cd packages/domain && npm run build
|
||||
RUN cd packages/infrastructure && npm run build
|
||||
RUN cd packages/application && npm run build
|
||||
RUN cd packages/api && npm run build
|
||||
|
||||
# Set working directory to API
|
||||
WORKDIR /app/packages/api
|
||||
|
||||
RUN mkdir -p uploads
|
||||
|
||||
EXPOSE 3002
|
||||
|
||||
+3
-10
@@ -1,14 +1,7 @@
|
||||
FROM node:20-alpine AS builder
|
||||
|
||||
WORKDIR /app
|
||||
COPY package*.json ./
|
||||
RUN npm install
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
FROM nginx:alpine
|
||||
COPY --from=builder /app/dist /usr/share/nginx/html
|
||||
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
COPY packages/ui/dist /usr/share/nginx/html
|
||||
COPY packages/ui/nginx.conf /etc/nginx/conf.d/default.conf
|
||||
|
||||
EXPOSE 80
|
||||
|
||||
|
||||
Reference in New Issue
Block a user