一键导入
docker-build
Build and run Docker containers for the ResumeAI application.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Build and run Docker containers for the ResumeAI application.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Run accessibility tests to ensure the ResumeAI application is accessible to all users.
Analyze test coverage reports to identify areas needing more tests.
Run linters, formatters, and type checkers for both frontend and backend code.
Inspect and query the SQLite database used by the ResumeAI application.
Detect unused npm dependencies in the ResumeAI frontend project.
Manage git branches, commits, and pull requests for ResumeAI development workflow.
基于 SOC 职业分类
| name | docker-build |
| description | Build and run Docker containers for the ResumeAI application. |
This skill provides commands for building and running Docker containers for the ResumeAI application.
# Build frontend image
docker build -t resumeai-frontend:latest .
# Build backend image
docker build -t resumeai-backend:latest -f Dockerfile.backend .
# Build all images
docker-compose build
# Run frontend
docker run -p 3000:3000 resumeai-frontend:latest
# Run backend
docker run -p 8000:8000 -e DATABASE_URL=sqlite:///resumeai.db resumeai-backend:latest
# Start all services
docker-compose up
# Start in background
docker-compose up -d
# View logs
docker-compose logs -f
# Stop services
docker-compose down
# Use local development compose file
docker-compose -f docker-compose.local.yml up
# Or with override
docker-compose -f docker-compose.yml -f docker-compose.local.yml up
# List running containers
docker ps
# List all containers
docker ps -a
# View container logs
docker logs <container_id>
# Execute command in container
docker exec -it <container_id> bash
# Remove unused images
docker image prune
# Remove stopped containers
docker container prune
The project typically defines:
frontend - React frontend applicationbackend - FastAPI backendpostgres - PostgreSQL database (production)redis - Redis cache (production)Create .env.docker or .env.local with:
DATABASE_URL=postgresql://user:pass@postgres:5432/resumeai
REDIS_URL=redis://redis:6379
API_URL=http://localhost:8000
# Build production images
docker build -t resumeai-frontend:latest --target production .
# Or use multi-stage build
docker build -t resumeai-backend:latest .
docker-compose up --build to rebuild after code changes.dockerignore to exclude unnecessary filesdocker system prune to clean up disk spacelatest)