Files
mission-control-ui/Dockerfile
Erwin 9c20b0ed31 Add Docker deployment with Traefik integration
- docker-compose.yml for container orchestration
- Dockerfile with multi-stage build (node builder + nginx)
- nginx.conf for SPA serving
2026-03-27 19:20:43 +00:00

21 lines
306 B
Docker

# Build stage
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
# Production stage
FROM nginx:alpine
COPY --from=builder /app/dist /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 80
CMD ["nginx", "-g", "daemon off;"]