Created
July 10, 2019 08:26
-
-
Save ota42y/f06774082a67a68b13d1386765c10ad8 to your computer and use it in GitHub Desktop.
This file contains 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
FROM node:8.11.3-alpine | |
RUN mkdir -p /app/node_modules | |
RUN touch /app/node_modules/test |
This file contains 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 build -t node_test . | |
docker run --rm -it -v `pwd`:/app node_test /bin/sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment