8 tests pass (webpack build, Docker build, container serve, HTTP 200+Content-Type,
page content, docker-compose, DNS API record, origin response, proxied URL):
Infrastructure deliverables:
- src/main.js — minimal Phaser 3 canvas bootstrap ('Iron Requiem' title text)
- webpack.config.js — html-webpack-plugin integration with SPA template
- Dockerfile — nginx:alpine + curl healthcheck + dist copy
- nginx.conf — SPA fallback (try_files /index.html)
- docker-compose.yml — litellm_hermes-net, Traefik labels w/ cloudflare certresolver
- jest.config.deploy.js — node testEnvironment, no Phaser dependency
- tests/slice1_deploy.test.js — 8 deployment tests
- tests/dns_verify.sh — Cloudflare DNS verification script
Deployed at https://iron-requiem.damascusfront.net (HTTP 200 verified)
Container: iron-requiem on litellm_hermes-net, Traefik routing active
8 lines
253 B
Docker
8 lines
253 B
Docker
FROM nginx:alpine
|
|
RUN apk add --no-cache curl
|
|
COPY dist /usr/share/nginx/html
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
EXPOSE 80
|
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
|
CMD curl -sf http://localhost:80/ || exit 1
|