Files
docs/apps/docs/Dockerfile
T
zeekay d67431796a feat: add Docker image build and K8s deployment for docs
Add GHCR image push step to deploy-docs workflow so docs.hanzo.ai
can be served from K8s in addition to Cloudflare Pages.
2026-02-25 00:28:02 -08:00

6 lines
343 B
Docker

FROM nginx:alpine
COPY out/ /usr/share/nginx/html/
RUN printf 'server {\n listen 3000;\n root /usr/share/nginx/html;\n index index.html;\n location / {\n try_files $uri $uri.html $uri/ /404.html;\n }\n location /health {\n return 200 "ok";\n }\n}\n' > /etc/nginx/conf.d/default.conf
EXPOSE 3000
CMD ["nginx", "-g", "daemon off;"]