Add lightweight offline web game for tablets

This commit is contained in:
wuyang
2026-11-03 16:45:50 +08:00
parent 4a99cd94a7
commit 10c4487463
14 changed files with 594 additions and 0 deletions
+5
View File
@@ -0,0 +1,5 @@
FROM nginx:1.27-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
COPY --chmod=0644 index.html style.css game.js sw.js manifest.webmanifest icon.svg apple-touch-icon.png icon-512.png /usr/share/nginx/html/
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=3s CMD wget -qO- http://127.0.0.1:8080/healthz || exit 1