{"id":17356971,"url":"https://github.com/moontai0724/docker-pnpm","last_synced_at":"2026-04-19T13:32:16.314Z","repository":{"id":207099378,"uuid":"718431053","full_name":"moontai0724/docker-pnpm","owner":"moontai0724","description":"Docker Image for PNPM package manager.","archived":false,"fork":false,"pushed_at":"2023-11-15T02:56:29.000Z","size":7,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T14:54:02.830Z","etag":null,"topics":["docker","docker-image","dockerfile","nodejs","pnpm"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/moontai0724/pnpm","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/moontai0724.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2023-11-14T03:53:53.000Z","updated_at":"2024-02-11T05:41:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"c3cd5d4c-92e4-4585-b00b-f14549911d3a","html_url":"https://github.com/moontai0724/docker-pnpm","commit_stats":null,"previous_names":["moontai0724/docker-pnpm"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/moontai0724/docker-pnpm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moontai0724%2Fdocker-pnpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moontai0724%2Fdocker-pnpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moontai0724%2Fdocker-pnpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moontai0724%2Fdocker-pnpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/moontai0724","download_url":"https://codeload.github.com/moontai0724/docker-pnpm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/moontai0724%2Fdocker-pnpm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32009119,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T20:23:30.271Z","status":"online","status_checked_at":"2026-04-19T02:00:07.110Z","response_time":55,"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":["docker","docker-image","dockerfile","nodejs","pnpm"],"created_at":"2024-10-15T18:59:31.218Z","updated_at":"2026-04-19T13:32:16.295Z","avatar_url":"https://github.com/moontai0724.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Docker Image for PNPM\n\nThis is a docker image for [pnpm](https://pnpm.io/), which is flexible to adjust version of node and pnpm.\n\n## Usage\n\nTo use this image, you can use it in two ways, but there will be a little different when using these two methods.\n\n### 1. Directly use\n\n```sh\ndocker run --rm -it -v $(pwd):/app moontai0724/pnpm:latest pnpm install\n```\n\n#### Update the pnpm to the latest version or a specific version\n\nThe image should contains latest pnpm version, but if you want to re-download when startup or use a specific version of pnpm, you can specify the `PNPM_VERSION` environment variable.\n\nThis image contains an [entrypoint script](https://docs.docker.com/engine/reference/builder/#entrypoint), which could run script when the image startup, that will re-download pnpm when startup.\n\n```sh\ndocker run --rm -it -v $(pwd):/app -e PNPM_VERSION=7.33.6 moontai0724/pnpm:latest pnpm install\n```\n\n### 2. Use as a base image\n\n```dockerfile\nFROM moontai0724/pnpm\n\n# your code\n```\n\n#### Update the pnpm to the latest version or a specific version\n\nPlease note that the entrypoint script will be executed after the image built, so you will use the pnpm version that is pre-installed in the image. If you want to use another version of pnpm, please manually run the installation script.\n\n```dockerfile\nFROM moontai0724/pnpm\n\nRUN sh /run/install_pnpm.sh\n\n# your code\n```\n\nIf you want to install a specific version of pnpm, you can set the `PNPM_VERSION` environment variable.\n\n```dockerfile\nFROM moontai0724/pnpm\n\nRUN export PNPM_VERSION=7.33.6\n\nRUN sh /run/install_pnpm.sh\n\n# your code\n```\n\n## Environment Variables\n\n| Name         | Default Value | Description                                                                                                      |\n| ------------ | ------------- | ---------------------------------------------------------------------------------------------------------------- |\n| PNPM_VERSION | N/A           | The version of pnpm to install. Specify `latest` to download latest version of pnpm. Will skip install if empty. |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoontai0724%2Fdocker-pnpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmoontai0724%2Fdocker-pnpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmoontai0724%2Fdocker-pnpm/lists"}