Skip to content

openenv-base image has no uvicorn command #244

@pro-wh

Description

@pro-wh
$ docker run --rm ghcr.io/meta-pytorch/openenv-base:sha-562b545 uvicorn --version
docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: exec: "uvicorn": executable file not found in $PATH

Run 'docker run --help' for more information

$ docker run --rm ghcr.io/meta-pytorch/openenv-base:sha-562b545 python -m uvicorn --version
Running uvicorn 0.38.0 with CPython 3.11.14 on Linux

looks like it could be from #160, which copies over the libraries from a separate builder container without the launcher script in /usr/local/bin.

some examples and the envs/README.md use uvicorn as a command

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions