Deployment Strategy: 4 environments + Docker setup
- 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
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
FROM node:20-alpine
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
# Copy package files
|
||||
COPY package*.json ./
|
||||
RUN npm install --production
|
||||
|
||||
# Copy source
|
||||
COPY . .
|
||||
RUN npm run build
|
||||
|
||||
# Create uploads directory
|
||||
RUN mkdir -p uploads
|
||||
|
||||
EXPOSE 3002
|
||||
|
||||
CMD ["node", "dist/index.js"]
|
||||
Reference in New Issue
Block a user