Last active
October 7, 2021 21:45
-
-
Save Nek-/2936f21a4e57fc31ef6a6ef6d6056c2b to your computer and use it in GitHub Desktop.
An alias that uses docker to run old version of nodejs
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
alias n14='docker run -it --rm -w "/myvolume" -v "`pwd`:/myvolume" node:14' | |
n14 yarn install | |
n14 node something | |
# Side note: will not work with stuff that need network access such as server. In this case you need to map ports manually. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment