Select config and click "Generate Dockerfile"
β’ Use .dockerignore to exclude node_modules, .git, etc.
β’ Combine RUN commands to reduce layers
β’ Use --no-cache or --no-install-recommends to reduce size
β’ Pin base image versions instead of using latest
β’ Multi-stage builds can reduce image size 5-10x