Files
pk-lab-xhs/Dockerfile
T
codex-bot 89787d21e5
Verify mini program and deploy preview / verify-deploy (push) Successful in 37s
Use fixed same-origin API proxy
2026-09-18 22:59:20 +08:00

7 lines
273 B
Docker

FROM nginx:1.27-alpine
COPY web /usr/share/nginx/html
COPY nginx.conf /etc/nginx/conf.d/default.conf
EXPOSE 8080
HEALTHCHECK --interval=10s --timeout=3s --start-period=5s --retries=5 CMD wget -q -O- http://127.0.0.1:8080/health || exit 1
CMD ["nginx", "-g", "daemon off;"]