generated from coulomb/repo-seed
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.
18 lines
351 B
Docker
18 lines
351 B
Docker
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"] |