code-server/Dockerfile.complete
Cursor Agent 093db0a693 feat: Implement full-stack AI IDE with tool integration
This commit introduces a comprehensive full-stack AI IDE. It includes:

- **Backend**: Claudable service with AI provider integrations (OpenAI, Anthropic, Google, Mistral), WebSocket communication, and a robust tool system for file operations, Git, terminal commands, and more.
- **Frontend**: React-based UI with a Cursor-like design, Monaco editor, real-time chat, and an interactive tool panel.
- **Infrastructure**: Dockerization for easy deployment with Docker Compose.

The system supports real-time chat, code execution, and AI-assisted development workflows.

Co-authored-by: logato7838 <logato7838@vsihay.com>
2025-10-12 12:31:03 +00:00

32 lines
649 B
Docker

FROM nginx:alpine
# Copy built frontend
COPY --from=cursor-frontend:latest /usr/share/nginx/html /usr/share/nginx/html
# Copy nginx configuration
COPY nginx.conf /etc/nginx/nginx.conf
# Install Node.js and dependencies for backend
RUN apk add --no-cache nodejs npm
# Copy backend
COPY --from=cursor-backend:latest /app /app/backend
# Install backend dependencies
WORKDIR /app/backend
RUN npm install --production
# Create startup script
RUN cat > /start.sh << 'SCRIPT'
#!/bin/sh
# Start backend
cd /app/backend && node dist/index.js &
# Start nginx
nginx -g "daemon off;"
SCRIPT
RUN chmod +x /start.sh
EXPOSE 80 3001 8080
CMD ["/start.sh"]