JavaScript runtime built on Chrome's V8 JavaScript engine
569
Node 14.17.3
Dockerfile linksexport UID
If you does not use bash-shell initialize UID variable with your current user ID. Example:
export UID=1000
docker-compose.ymlSuggested path for docker-compose.yml root of your project.
version: '3.6'
services:
node:
image: nafigat0r/node:14
user: ${UID}:${UID}
command: ["node", "script.js"]
volumes:
- ./:/var/www/html/
restart: unless-stopped
docker-compose up -d --remove-orphans
docker run --user $(id -u):$(id -g) --rm -ti nafigat0r/node:14 --version
Content type
Image
Digest
Size
201.7 MB
Last updated
about 5 years ago
docker pull nafigat0r/node:14