Last active
April 15, 2022 13:03
-
-
Save tyteck/e8d0dd579a0e098193ae3071c52f4690 to your computer and use it in GitHub Desktop.
npm install through docker-compose
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
version: '3.7' | |
services: | |
node: | |
image: node:13 | |
restart: unless-stopped | |
command: "npm install" | |
working_dir: /app | |
volumes: | |
- ./:/app |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment