maplibre-gl-components 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +35 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -375,6 +375,41 @@ npm run build
|
|
|
375
375
|
npm run build:examples
|
|
376
376
|
```
|
|
377
377
|
|
|
378
|
+
## Docker
|
|
379
|
+
|
|
380
|
+
The examples can be run using Docker. The image is automatically built and published to GitHub Container Registry.
|
|
381
|
+
|
|
382
|
+
### Pull and Run
|
|
383
|
+
|
|
384
|
+
```bash
|
|
385
|
+
# Pull the latest image
|
|
386
|
+
docker pull ghcr.io/opengeos/maplibre-gl-components:latest
|
|
387
|
+
|
|
388
|
+
# Run the container
|
|
389
|
+
docker run -p 8080:80 ghcr.io/opengeos/maplibre-gl-components:latest
|
|
390
|
+
```
|
|
391
|
+
|
|
392
|
+
Then open http://localhost:8080/maplibre-gl-components/ in your browser to view the examples.
|
|
393
|
+
|
|
394
|
+
### Build Locally
|
|
395
|
+
|
|
396
|
+
```bash
|
|
397
|
+
# Build the image
|
|
398
|
+
docker build -t maplibre-gl-components .
|
|
399
|
+
|
|
400
|
+
# Run the container
|
|
401
|
+
docker run -p 8080:80 maplibre-gl-components
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
### Available Tags
|
|
405
|
+
|
|
406
|
+
| Tag | Description |
|
|
407
|
+
|-----|-------------|
|
|
408
|
+
| `latest` | Latest release |
|
|
409
|
+
| `x.y.z` | Specific version (e.g., `1.0.0`) |
|
|
410
|
+
| `x.y` | Minor version (e.g., `1.0`) |
|
|
411
|
+
|
|
412
|
+
|
|
378
413
|
## License
|
|
379
414
|
|
|
380
415
|
MIT License - see [LICENSE](./LICENSE) for details.
|