Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker: Make it easier to run on-off commands
Set ENTRYPOINT to the Pat executable, and use CMD to provide default arguments. By doing this, users can run on-off commands with docker as if the app was running natively on the host. E.g. `docker compose run pat interactive`.
- Loading branch information
66cd955
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FYI @xylo04 - I wasn't aware of this Docker feature. Very useful π€©
https://spacelift.io/blog/docker-entrypoint-vs-cmd
66cd955
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
π
66cd955
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
on-off == one-off π