Skip to content

Cannot use ENTRYPOINT in Dockerfile/docker-compose.yml #27

@iamamutt

Description

@iamamutt

Request to be able to use ENTRYPOINT w/ CMD like so:

ENTRYPOINT ["conda", "run", "-n", "my_custom_env", "my_script.py"]
CMD: ["--opt1", "val1", "--opt2", "val2"]

instead of:

CMD: ["conda", "run", "-n", "my_custom_env", "my_script.py", "--opt1", "val1", "--opt2", "val2"]

This would require moving entrypoint.sh functionality elsewhere in the Dockerfile, though.

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