{"id":20028844,"url":"https://github.com/phase2/docker-node","last_synced_at":"2026-05-13T03:32:54.412Z","repository":{"id":137097929,"uuid":"82849728","full_name":"phase2/docker-node","owner":"phase2","description":"Node image for a JavaScript based server side platform","archived":false,"fork":false,"pushed_at":"2019-11-07T13:54:50.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-01-12T17:36:27.734Z","etag":null,"topics":["docker-image","nodejs","outrigger"],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","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/phase2.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","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":"2017-02-22T20:33:41.000Z","updated_at":"2019-11-07T13:54:43.000Z","dependencies_parsed_at":null,"dependency_job_id":"fcac53b6-1cc6-4c09-b30d-8351c881060c","html_url":"https://github.com/phase2/docker-node","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phase2%2Fdocker-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phase2%2Fdocker-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phase2%2Fdocker-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phase2%2Fdocker-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phase2","download_url":"https://codeload.github.com/phase2/docker-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241460048,"owners_count":19966518,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-image","nodejs","outrigger"],"created_at":"2024-11-13T09:16:48.341Z","updated_at":"2026-05-13T03:32:49.382Z","avatar_url":"https://github.com/phase2.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Outrigger Node\n\n\u003e Node image for a JavaScript server side platform.\n\n[![GitHub tag](https://img.shields.io/github/tag/phase2/docker-node.svg)](https://github.com/phase2/docker-node)\n[![Docker Stars](https://img.shields.io/docker/stars/outrigger/node.svg)](https://hub.docker.com/r/outrigger/node)\n[![Docker Pulls](https://img.shields.io/docker/pulls/outrigger/node.svg)](https://hub.docker.com/r/outrigger/node)\n[![MicroBadger](https://images.microbadger.com/badges/image/outrigger/node.svg)](https://microbadger.com/images/outrigger/node \"Get your own image badge on microbadger.com\")\n\nFor more documentation on how Outrigger images are constructed and how to work\nwith them, please [see the documentation](http://docs.outrigger.sh/).\n\n## Node \u003c= v6\n\nBased on outrigger/servicebase, which provides a CentOS-base, s6 init system\nand confd configuration templating.\n\n## Node v8, v10\n\nBased on official Node images, specifically the Alpine variant, and\nadds special functionality on top. Currently that includes:\n\n* tini init system\n* Coordinated support for Yarn and npm\n* Run services as the `node` user instead of as `root`.\n\nWe have switched to a simple templating mechanism to ease support for multiple node versions, assuming we want to handle future node versions in a manner identical\nto v8.\n\n## Usage Example\n\nThe examples in this repo use Yarn, but you can use npm as well.\n\n### Docker Run - Node REPL\n\n```bash\ndocker run --rm -it outrigger/node:8\n```\n\n### Docker Compose - Project-style\n\nFor a more thorough example of how you would use outrigger/node:2-node8 or greater\nin a \"real\" project, check out ./examples.\n\n```yaml\napi: '3.4'\nservices:\n  app:\n    image: outrigger/node:8\n    container_name: projectname_app\n    command: \"yarn install \u0026\u0026 yarn start\"\n    labels:\n      com.dnsdock.name: app\n      com.dnsdock.image: projectname\n    network_mode: bridge\n    volumes:\n      - .:/code\n```\n\n### Node v4 and v6\n\nIn the current version of Node v4 and v6, npm install and start routines are\nbuilt-in to the image. This makes them more project-centric out of the box.\n\n```bash\ndocker run --rm -v ~/Project/node-app:/code outrigger/node:6\n```\n\n## Environment Variables\n\nOutrigger images use Environment Variables and [confd](https://github.com/kelseyhightower/confd)\nto \"templatize\" a number of Docker environment configurations. These templates are\nprocessed on startup with environment variables passed in via the docker run\ncommand-line or via your docker-compose manifest file. Here are the \"tunable\"\nconfigurations offered by this image.\n\nThis only applies to Node v4 and v6.\n\n* `SKIP_NPM_INSTALL`: If this is set (to anything) it will not run `npm install` when the container boots.\n\n## Security Reports\n\nPlease email outrigger@phase2technology.com with security concerns.\n\n## Maintainers\n\n[![Phase2 Logo](https://s3.amazonaws.com/phase2.public/logos/phase2-logo.png)](https://www.phase2technology.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphase2%2Fdocker-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphase2%2Fdocker-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphase2%2Fdocker-node/lists"}