{"id":15141774,"url":"https://github.com/robertgontarski/node-docker-image","last_synced_at":"2026-01-20T21:06:40.892Z","repository":{"id":253317209,"uuid":"843137209","full_name":"robertgontarski/node-docker-image","owner":"robertgontarski","description":"This Docker image is based on Ubuntu and includes basic tools as well as Node.js installed using NVM.","archived":false,"fork":false,"pushed_at":"2024-08-15T23:17:49.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-06T14:24:45.969Z","etag":null,"topics":["docker","docker-image","linux","nodejs"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robertgontarski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-08-15T21:29:57.000Z","updated_at":"2024-08-15T23:21:25.000Z","dependencies_parsed_at":"2024-08-15T23:22:20.879Z","dependency_job_id":null,"html_url":"https://github.com/robertgontarski/node-docker-image","commit_stats":null,"previous_names":["robertgontarski/node-docker-image"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/robertgontarski/node-docker-image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertgontarski%2Fnode-docker-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertgontarski%2Fnode-docker-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertgontarski%2Fnode-docker-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertgontarski%2Fnode-docker-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robertgontarski","download_url":"https://codeload.github.com/robertgontarski/node-docker-image/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robertgontarski%2Fnode-docker-image/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28613713,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-20T18:56:40.769Z","status":"ssl_error","status_checked_at":"2026-01-20T18:54:26.653Z","response_time":117,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","docker-image","linux","nodejs"],"created_at":"2024-09-26T09:01:54.932Z","updated_at":"2026-01-20T21:06:40.877Z","avatar_url":"https://github.com/robertgontarski.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# NodeJS Doker Image\n\n## Description\n\nThis Docker image is based on linux and includes basic tools as well as Node.js installed using NVM.\n\n## Supported Tags\n\n- `latest` - the latest version of Node.js based on `Ubuntu 20.10`\n- `slim` - the latest version of Node.js based on `Debian trixie-slim`\n\n## Installation and Usage\n\n### Pull the Image\n\nTo pull the image, use the following command:\n\n```bash\ndocker pull robertgontarski/node\n```\n\n### Run the Container via Docker\n\nTo run a container based on the pulled image, use the following command:\n\n```bash\ndocker run -it \\\n  -p 3000:3000 \\\n  -v $(pwd):/var/www \\\n  robertgontarski/node\n```\n\n### Run the Container via Docker Compose\n\nTo run a container based on the pulled image using Docker Compose, create a `docker-compose.yml` file with the following content:\n\n```yaml\n\nservices:\n  node:\n    image: robertgontarski/node\n    ports:\n      - 3000:3000\n    volumes:\n      - .:/var/www\n    tty: true\n```\n\nThen, run the following command:\n\n```bash\ndocker-compose up -d\n```\n\n### Working in the Container\n\nOnce the container is running, the working directory is set to `/var/www`. You can now work in this directory, install additional packages, run Node.js applications, etc.\n\n### How to change Node.js version\n\nTo change the Node.js version, you can use the following command:\n\n```bash\nnvm install \u003cversion\u003e\n```\n\nIf you want to use the installed version as the default, use the following command:\n\n```bash\nnvm alias default \u003cversion\u003e\n```\n\n## License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertgontarski%2Fnode-docker-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobertgontarski%2Fnode-docker-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobertgontarski%2Fnode-docker-image/lists"}