wilddragon-site/Dockerfile
Zac Gaetano 54fc4bb356 Sync repo to live wilddragon.net deployment
Live site had drifted from the repo: it serves prebuilt minified bundles
(app/components/tweaks-panel.min.js), vendored React, robots.txt and
sitemap.xml, with root-relative asset paths and an apex canonical.

- index.html: replaced with the live served copy
- app.jsx: App root extracted from the old inline text/babel block
- build.sh: esbuild step producing the *.min.js bundles
- vendor/: React 18.3 production UMDs pulled from live
- robots.txt, sitemap.xml: pulled from live
- Dockerfile: ship built bundles + vendor, drop raw jsx/standalone
2026-09-18 07:50:09 -04:00

14 lines
414 B
Docker

FROM nginx:1.27-alpine
COPY nginx.conf /etc/nginx/conf.d/default.conf
WORKDIR /usr/share/nginx/html
COPY index.html styles.css data.js projects-data.js llms.txt robots.txt sitemap.xml ./
COPY app.min.js components.min.js tweaks-panel.min.js ./
COPY vendor ./vendor
COPY images ./images
EXPOSE 43036
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
CMD wget -q --spider http://localhost:43036/ || exit 1