Skip to content

Dockerfile without ENTRYPOINT and CMD? #609

@scheung38

Description

@scheung38

The provided Dockerfile:

FROM tiangolo....

COPY . /app

But where are the ENTRYPOINT and CMD as compared to a normal Flask Dockerfile:

ENTRYPOINT["python"]

CMD["main.py"]

Tried CMD["uvicorn", "--reload", "--port", "5000"]

says uvicorn command not found?

Is uvicorn already launched under the hood?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions