Last active
March 31, 2021 09:17
-
-
Save svirmi/6ba68aca210555bce085f38079ca75cf to your computer and use it in GitHub Desktop.
run node.js image with current folder mapping
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
| docker run -it --rm -p 8000:8000 -u $(id -u ${USER}):$(id -g ${USER}) -v ${PWD}:/app node:12 /bin/bash |
Author
svirmi
commented
Jul 24, 2020
docker run -it --rm -u $(id -u ${USER}):$(id -g ${USER}) -v ${PWD}:/app node:12 /bin/bash
without port mapping
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment