795908e1ef
Standalone Compose service running a locally-built nginx image that serves a static Anthropic-API frontend. Traefik dynamic route added for public HTTPS access. Blackbox probe added to prometheus.yml for uptime monitoring. CLAUDE.md updated with service entry. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
335 B
Docker
14 lines
335 B
Docker
FROM nginx:1.25-alpine
|
|
|
|
RUN rm -rf /usr/share/nginx/html/*
|
|
|
|
COPY frontend/index.html /usr/share/nginx/html/index.html
|
|
COPY nginx.conf /etc/nginx/conf.d/default.conf
|
|
|
|
HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
|
CMD wget -qO- http://localhost/health || exit 1
|
|
|
|
EXPOSE 80
|
|
|
|
CMD ["nginx", "-g", "daemon off;"]
|