Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using ENTRYPOINT to simplify docker run semantics
This change specifies htmltest as the ENTRYPOINT command in the Dockerfile. This change makes it so that Docker concatenates the ENTRYPOINT and the CMD. The big benefit is that clients don't have to redundantly type the binary name when they run the Docker image. Instead of this: docker run -v /home/mike/htmltest:/test --rm wjdp/htmltest htmltest -l 3 -s they can leave out the second 'htmltest' like this: docker run -v /home/mike/htmltest:/test --rm wjdp/htmltest -l 3 -s
- Loading branch information