t-mart / kill-sticky

Bookmarklet to remove sticky elements and restore scrolling to web pages!
826 stars 13 forks source link

Switch from ENTRYPOINT to CMD Dockerfile and clean up #8

Open tom93 opened 1 year ago

tom93 commented 1 year ago

Merge after #7.

ENTRYPOINT and CMD are similar but CMD is more appropriate because it allows overriding on the command line, e.g. docker run ... kill-sticky sh can now be used to start an interactive shell for debugging.

Also remove set -x from Dockerfile (unnecessary because we use &&), and switch from $(pwd) to $PWD in the build commands because $PWD is cleaner (especially in the Makefile).