Source files (src/) and rendered bundle (www/) extracted on 2026-04-29T01:35:49+02:00. Adds nginx:alpine Dockerfile + docker-compose.yml (Caddy-labels) so the bot runs stand-alone or as a per-customer template clone. Parent monorepo commit: d2c816f3edbc9760802a11b29ff4151c7aad4b46 Bot version: 2026-04-26
13 lines
452 B
Docker
13 lines
452 B
Docker
# Static-bundle bot — nginx:alpine serves www/ on port 80.
|
|
FROM nginx:1.27-alpine
|
|
|
|
# nginx config: gzip + cache headers + index.html no-store
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
# Static bundle
|
|
COPY www/ /usr/share/nginx/html/
|
|
|
|
# Run as non-root via nginx's built-in unprivileged image features
|
|
EXPOSE 80
|
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
|
CMD wget -q --spider http://127.0.0.1/index.html || exit 1
|