- 8.1 Use multi-stage builds for leaner and more secure Docker images
- 8.2. Bootstrap using ‘node’ command, avoid npm start
- 8.3. Let the Docker runtime handle replication and uptime
- 8.4. Use .dockerignore to prevent leaking secrets
- 8.5. Clean-up dependencies before production
- 8.6. Shutdown smartly and gracefully
- 8.7. Set memory limits using both Docker and v8
- 8.8. Plan for efficient caching
- 8.9. Use explicit image reference, avoid latest tag
- 8.10. Prefer smaller Docker base images
- 8.11. Clean-out build-time secrets, avoid secrets in args
- 8.12. Scan images for multi layers of vulnerabilities
- 8.13 Clean NODE_MODULE cache
- 8.14. Generic Docker practices
- 8.15. Lint your Dockerfile
当前内容版权归 goldbergyoni 或其关联方所有,如需对内容或内容相关联开源项目进行关注与资助,请访问 goldbergyoni .