{"id":25808136,"url":"https://github.com/nullstone-io/docker-node","last_synced_at":"2026-07-17T12:32:40.651Z","repository":{"id":37994820,"uuid":"489493484","full_name":"nullstone-io/docker-node","owner":"nullstone-io","description":"Base docker image for Node","archived":false,"fork":false,"pushed_at":"2025-02-05T14:06:18.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T08:11:23.095Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/nullstone-io.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":"2022-05-06T21:04:53.000Z","updated_at":"2025-02-05T14:06:22.000Z","dependencies_parsed_at":"2025-02-27T21:59:22.826Z","dependency_job_id":"79b259b5-88f8-4645-87d5-7337c7095d2c","html_url":"https://github.com/nullstone-io/docker-node","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nullstone-io/docker-node","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-io%2Fdocker-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-io%2Fdocker-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-io%2Fdocker-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-io%2Fdocker-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nullstone-io","download_url":"https://codeload.github.com/nullstone-io/docker-node/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nullstone-io%2Fdocker-node/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35582007,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-17T02:00:06.162Z","response_time":116,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":[],"created_at":"2025-02-27T21:59:15.621Z","updated_at":"2026-07-17T12:32:40.601Z","avatar_url":"https://github.com/nullstone-io.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nullstone/node\n\nNode Base Image that is configured with different image tags for local and production.\nThis image is opinionated, but not restrictive.\n\n## Quick Reference\n\n- Maintained by\n  [Nullstone](https://nullstone.io)\n- Where to get help\n  [Nullstone Slack](https://join.slack.com/t/nullstone-community/signup)\n\n## Supported Tags and respective `Dockerfile` links\n\n- [local](local.Dockerfile)\n- [latest](Dockerfile)\n- [lambda, lambda-22](lambda.Dockerfile)\n- [lambda-20](lambda.Dockerfile)\n- [lambda-18](lambda.Dockerfile)\n- [lambda-16](lambda.Dockerfile)\n- [lambda-14](lambda.Dockerfile)\n- [lambda-12](lambda.Dockerfile)\n\n## Variants\n\nThis repository builds 3 variants of images: a local image, a production container image, and a production serverless image.\n\n### Local\n\nThe local image variant is used to run node in an isolated development environment on your local machine.\n- `CMD` is set to `node app.js` to run a development server.\n- `PORT` is set to `9000` to align with Nullstone conventions to quickly attach nginx sidecar (example coming soon)\n- `ENTRYPOINT` is set to a custom entrypoint script that does the following:\n    - Run `yarn install` - Allows developer to run `docker compose restart app` to make changes to dependencies\n    - If `POSTGRES_URL` is specified, set `DB_ADAPTER=postgresql`, `DATABASE_URL=$POSTGRES_URL`\n    - If `MYSQL_URL` is specified, set `DB_ADAPTER=mysql`, `DATABASE_URL=$MYSQL_URL`\n\n### Production\n\nThe production image variant uses node to run a node app in production mode.\n- `PORT` is set to `80`\n- `ENTRYPOINT` is set to a custom entrypoint script that does the following:\n    - If `POSTGRES_URL` is specified, set `DB_ADAPTER=postgresql`, `DATABASE_URL=$POSTGRES_URL`\n    - If `MYSQL_URL` is specified, set `DB_ADAPTER=mysql`, `DATABASE_URL=$MYSQL_URL`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullstone-io%2Fdocker-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnullstone-io%2Fdocker-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnullstone-io%2Fdocker-node/lists"}