Files
peptide-news-plugin/tools/vps-worker/Dockerfile
opencode 7d2f795f99 feat: v2.6.0 3-step AI pipeline, VPS worker, REST worker routes
- 3-step OpenRouter pipeline: Gatekeeper scoring/classification, PubMed+Google URL extraction, Markdown summary generation
- REST worker routes /wp-json/peptide-news/v1/worker/* with X-Peptide-News-Token auth
- Standalone Coolify worker (tools/vps-worker) with Dockerfile + docker-compose
- CLI commands, content extractor, pubmed extractor, google url resolver
- 89 PHPUnit tests passing
2026-08-03 19:20:47 +08:00

12 lines
300 B
Docker

FROM php:8.3-cli-alpine
# Install curl extension and ca-certificates for secure HTTPS requests
RUN apk add --no-cache curl ca-certificates && \
docker-php-ext-install curl || true
WORKDIR /app
COPY worker.php /app/worker.php
# Default entrypoint runs the worker
CMD ["php", "/app/worker.php"]