6c2b5ee340
- Development: localhost (API:3002, UI:3003) - Integration: AI model validation - Pilot: pilot.landvex.com (Docker Compose) - Production: app.landvex.com - Intelligence Lab: lab.landvex.internal Docker Compose: - API (Node.js) - UI (Nginx) - PostgreSQL - MinIO (object storage) Next: Deploy pilot environment
16 lines
275 B
Docker
16 lines
275 B
Docker
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
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|