fix: harden container routing and publish ledger

This commit is contained in:
wuyang
2026-07-28 22:06:23 +08:00
parent 7d5c5e4c54
commit 8dc62bfaec
4 changed files with 13 additions and 9 deletions
+1 -1
View File
@@ -7,7 +7,7 @@ RUN npm run build
FROM nginx:1.29-alpine
COPY --chmod=0644 deploy/nginx.conf /etc/nginx/conf.d/default.conf
COPY --chmod=0644 --from=build /app/dist/ /usr/share/nginx/html/
COPY --from=build /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