{"id":21591067,"url":"https://github.com/tuananh/containerize","last_synced_at":"2025-03-18T10:15:44.394Z","repository":{"id":142279109,"uuid":"110843075","full_name":"tuananh/containerize","owner":"tuananh","description":"Generate a Dockerfile for your Node.js app","archived":false,"fork":false,"pushed_at":"2017-11-15T14:24:34.000Z","size":3,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"develop","last_synced_at":"2025-01-24T16:29:06.384Z","etag":null,"topics":["dockerfile","npx"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/tuananh.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":"2017-11-15T14:21:20.000Z","updated_at":"2020-07-27T10:33:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"7c0450e1-0e3e-44d2-a5cb-c2b848bfe7df","html_url":"https://github.com/tuananh/containerize","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuananh%2Fcontainerize","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuananh%2Fcontainerize/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuananh%2Fcontainerize/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tuananh%2Fcontainerize/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tuananh","download_url":"https://codeload.github.com/tuananh/containerize/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244198406,"owners_count":20414443,"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":["dockerfile","npx"],"created_at":"2024-11-24T16:22:32.329Z","updated_at":"2025-03-18T10:15:44.366Z","avatar_url":"https://github.com/tuananh.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# containerize [![npm](https://img.shields.io/npm/v/containerize.svg?style=flat-square)](https://npm.im/containerize)\n\n## Usage\n\n```\nnpx containerize\n```\n\nthis creates a `Dockerfile` in your working directory\n\n```\nFROM bitnami/node:8.9.1-r0 as builder\n\nRUN mkdir -p /app/${name}\nWORKDIR /app/${name}\n\nCOPY package.json /app/${name}\nRUN npm install --production --unsafe\n\nCOPY . /app/${name}\n\nFROM bitnami/node:8.9.1-r0-prod\nRUN mkdir -p /app/${name}\nWORKDIR /app/${name}\nCOPY --from=builder /app/${name} .\n\nCMD [\"node\", \"${main}\"]\n```\n\n## License\n\nMIT © [Tuan Anh Tran](https://github.com/tuananh)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuananh%2Fcontainerize","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftuananh%2Fcontainerize","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftuananh%2Fcontainerize/lists"}