Make Docker optional and simplify development setup

- Remove Dockerfile.dev and CI/CD workflow
- Remove Docker-specific npm scripts from package.json
- Update README to prioritize local Node.js development
- Make Docker containerization optional rather than required
- Update build scripts to treat Docker as optional
- Remove GitHub Actions and CI/CD references from documentation
- Add Format JSON button to JMESPath toolbar per copilot instructions
- Simplify development workflow for better accessibility
This commit is contained in:
2026-01-18 14:04:16 +01:00
parent 48d540bd48
commit 557f1b20c9
7 changed files with 19 additions and 231 deletions

View File

@@ -30,19 +30,20 @@ npm install
echo "🔨 Building production bundle..."
npm run build
# Container build with Docker
# Optional container build with Docker
if command -v docker &> /dev/null; then
echo "🐳 Building Docker container..."
echo "🐳 Building Docker container (optional)..."
docker build -t jmespath-playground .
else
echo "⚠️ Docker not found. Skipping container build."
echo " Install Docker to build containers."
echo "💡 Docker not found. Container build is optional."
echo " Install Docker if you want to build containers."
fi
echo "✅ Build completed successfully!"
echo ""
echo "To run the application:"
echo " npm run serve # Serve production build locally"
echo " docker run -p 3000:3000 jmespath-playground # Run container (if built)"
if command -v docker &> /dev/null; then
echo " docker run -p 3000:3000 jmespath-playground # Run with Docker"
fi