Publish Sophon Realtime calling tool protocol and latency guide

This commit is contained in:
wuyang6
2026-11-09 12:30:33 +08:00
commit 83f47dd857
17 changed files with 2244 additions and 0 deletions
+10
View File
@@ -0,0 +1,10 @@
FROM node:22-alpine AS build
WORKDIR /app
COPY package.json build.mjs index.html styles.css app.js model.js favicon.svg robots.txt release.json ./
RUN npm run build
FROM nginx:1.28-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --from=build --chmod=0644 /app/dist/ /usr/share/nginx/html/
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 CMD wget -q -O /dev/null http://127.0.0.1:8080/healthz || exit 1