16cad3fe36
- Add sharp dependency for image format conversion - Generate WebP (quality 80) and AVIF (quality 70) variants for all raster images - Render <picture> elements with srcset fallbacks (AVIF > WebP > original) - SVG images remain as <img> without picture wrapper - Update Dockerfile to install libvips for sharp, copy from public/ dir - Add nginx cache rules for .webp and .avif files - Add .gitignore for node_modules, public, dist
18 lines
363 B
YAML
18 lines
363 B
YAML
apiVersion: v1
|
|
kind: Service
|
|
metadata:
|
|
name: news-site
|
|
namespace: openclaw-private
|
|
labels:
|
|
app.kubernetes.io/name: signalledger
|
|
app.kubernetes.io/component: frontend
|
|
app.kubernetes.io/part-of: signalledger
|
|
spec:
|
|
selector:
|
|
app.kubernetes.io/name: signalledger
|
|
ports:
|
|
- port: 80
|
|
targetPort: 80
|
|
name: http
|
|
type: ClusterIP
|