generated from coulomb/repo-seed
Implement WP-0011 hub service, CLI, and deployment artifacts
Some checks failed
ci / validate-registry (push) Has been cancelled
Some checks failed
ci / validate-registry (push) Has been cancelled
Add FederationHubAPI spec, hub registration schema, FastAPI hub with SQLite persistence, reuse-surface hub CLI client, Dockerfile, and hub tests. Activate workplan; T05 deploy and T06 ops docs remain open pending railiance01 cutover.
This commit is contained in:
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@@ -0,0 +1,18 @@
|
||||
FROM python:3.12-slim
|
||||
|
||||
WORKDIR /app
|
||||
|
||||
COPY pyproject.toml README.md ./
|
||||
COPY reuse_surface ./reuse_surface
|
||||
COPY schemas ./schemas
|
||||
|
||||
RUN pip install --no-cache-dir .
|
||||
|
||||
ENV REUSE_SURFACE_HUB_HOST=0.0.0.0
|
||||
ENV REUSE_SURFACE_HUB_PORT=8000
|
||||
ENV REUSE_SURFACE_HUB_DB=/data/hub.db
|
||||
ENV REUSE_SURFACE_HUB_CACHE_DIR=/data/cache
|
||||
|
||||
EXPOSE 8000
|
||||
|
||||
CMD ["reuse-surface-hub"]
|
||||
Reference in New Issue
Block a user