Skip to content

Dockerfile still pins --root-path /1.3 #404

Description

@gaurav

The Dockerfile ENTRYPOINT ends with:

ENTRYPOINT ["uvicorn", "--host", "0.0.0.0", "--port", "8080", "--root-path", "/1.3", "--workers", "1", "node_normalizer.server:app"]

/1.3 is a TRAPI-version path prefix. Those are deprecated and slated for removal — the root path should be /, and the only place a version prefix should still appear is the OpenAPI servers block, which is set from SERVER_ROOT/TRAPI_VERSION in node_normalizer/apidocs.py and is itself temporary.

This line is now the last remaining source of the versioned prefix in the repository, and it is where CLAUDE.md's old claim that the root path was /1.3 came from. The documentation was corrected to say / in #403; this should follow so the two agree.

Worth checking against the deployment charts before changing it, since --root-path affects the URLs advertised in the served OpenAPI schema and anything sitting in front of the service may depend on the current value.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status
    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions