- build.py: _TEMPLATE_COMPONENTS rewritten around the vet sample (53 kinds —
per-resource slices, jobs, worked appointment_reminder family, tests);
seed tokens dropped from the manifest ('sample: vet' instead)
- registry.py: get_app_component(kind) no longer renames item/example seeds;
prompts and tool docs updated to 'copy a slice and adapt'
- templates/README.md, 01_build_recipe, 40_ui_admin, wiki/03 updated off the
old seed scheme; repo inventory/config now exclude vet (docs move under
standards; react/vet itself is deleted in a later phase)
- regenerated MCP bundle, vendored templates, and site output
18 lines
588 B
Docker
18 lines
588 B
Docker
FROM python:3.11-slim
|
|
|
|
WORKDIR /app
|
|
|
|
# Private index for the internal Aetos libraries — pass credentials as build args.
|
|
ARG PIP_REGISTRY_USERNAME
|
|
ARG PIP_REGISTRY_PASSWORD
|
|
ENV PIP_EXTRA_INDEX_URL=https://${PIP_REGISTRY_USERNAME}:${PIP_REGISTRY_PASSWORD}@pip.aetoskia.com/simple
|
|
|
|
COPY pyproject.toml ./
|
|
COPY . .
|
|
RUN pip install --no-cache-dir --upgrade pip \
|
|
&& pip install --no-cache-dir --extra-index-url "${PIP_EXTRA_INDEX_URL}" .
|
|
|
|
EXPOSE 8020
|
|
|
|
# Spec-first FastAPI application (no worker by design for this service)
|
|
CMD ["uvicorn", "main:app", "--host", "0.0.0.0", "--port", "8020"] |