{"id":13343676,"url":"https://github.com/dockerpkg/dockerpkg","last_synced_at":"2025-03-12T06:30:22.673Z","repository":{"id":66567811,"uuid":"89901838","full_name":"dockerpkg/dockerpkg","owner":"dockerpkg","description":"Build and run node apps in small docker containers using zeit/pkg","archived":false,"fork":false,"pushed_at":"2017-05-04T04:13:59.000Z","size":10,"stargazers_count":44,"open_issues_count":2,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-10-24T16:49:01.456Z","etag":null,"topics":["beeman","docker-container","docker-pkg","mit","pkg","zeit"],"latest_commit_sha":null,"homepage":"","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/dockerpkg.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-05-01T06:12:20.000Z","updated_at":"2021-12-15T14:15:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"cbb711ea-5683-47e0-8b99-ee1ee736bf0b","html_url":"https://github.com/dockerpkg/dockerpkg","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dockerpkg%2Fdockerpkg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dockerpkg%2Fdockerpkg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dockerpkg%2Fdockerpkg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dockerpkg%2Fdockerpkg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dockerpkg","download_url":"https://codeload.github.com/dockerpkg/dockerpkg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243171338,"owners_count":20247876,"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":["beeman","docker-container","docker-pkg","mit","pkg","zeit"],"created_at":"2024-07-29T19:31:56.825Z","updated_at":"2025-03-12T06:30:22.666Z","avatar_url":"https://github.com/dockerpkg.png","language":"JavaScript","readme":"# dockerpkg\n\n\u003e Build and run node apps in small containers using docker and [zeit/pkg](https://github.com/zeit/pkg).\n\n\n# Introduction\n\n[zeit/pkg](https://github.com/zeit/pkg) is a tool to package a NodeJS project into an executable. The resulting\npackages can be used on a system without having to install NodeJS, npm or the project dependencies. \n\nWhen used together with a small system like Alpine Linux this can result in simple and minimal Docker images.\n\nThis project aims for a very simple workflow to create these small images. It does so by separating the process of\nbuilding and running the container and it provides a simple helper command to run the build. \n\n# Components\n\n## dockerpkg/builder\n\nThe builder image is based on `node:7.9-alpine` and it runs the `pkg` command with some params in the mounted directory.\n\nThe result is a generated binary called `app.bin` in the mounted directory (generally this is the dir of you project).\n\n## dockerpkg/runner\n\nThe runner images is based on `alpine:3.5` and it is made to run the generated `app.bin` from the `/app` directory.\n\n## dockerpkg cli tool\n\nThe `dockerpkg` is a simple script that executes the `docker` command with the right parameters to created a build.\n \nIt pulls the `dockerpkg/runner` images and makes sure that the working dir is mounted correctly.\n\n# How to use \n\nPlease refer to [dockerpkg-example](https://github.com/dockerpkg/dockerpkg-example) for a working example.\n\n# Credits\n\n- [ZEIT](https://zeit.co) for creating awesome software like [zeit/pkg](https://github.com/zeit/pkg)\n\n# LICENSE\n\nMIT","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdockerpkg%2Fdockerpkg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdockerpkg%2Fdockerpkg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdockerpkg%2Fdockerpkg/lists"}