NGINX-based container image that serves the statically exported frontend of a Reflex application
110
kubeskills/reflex-frontendA minimal, high-performance NGINX image serving the statically exported frontend of a Reflexβ app. Built for Kubernetes deployments and SPA-friendly routing.
exportindex.html)nginx:alpine)index.html: app entrypoint404.html: custom not-found pagesitemap.xml, favicon.ico, and _next/ assets__spa-fallback.html: used as base fallback for Reflex SPA routing80 β default HTTP port served by NGINXdocker rundocker run -p 8080:80 kubeskills/reflex-frontend:latest
Visit: http://localhost:8080β
apiVersion: apps/v1
kind: Deployment
metadata:
name: reflex-frontend
spec:
replicas: 2
selector:
matchLabels:
app: reflex-frontend
template:
metadata:
labels:
app: reflex-frontend
spec:
containers:
- name: frontend
image: kubeskills/reflex-frontend:latest
ports:
- containerPort: 80
resources:
requests:
cpu: 50m
memory: 64Mi
limits:
cpu: 100m
memory: 128Mi
Content type
Image
Digest
sha256:ea8cf0d60β¦
Size
22.1 MB
Last updated
over 1 year ago
docker pull kubeskills/reflex-frontend