{"id":23432876,"url":"https://github.com/mersocarlin/docker-node","last_synced_at":"2025-07-17T20:37:58.362Z","repository":{"id":47315864,"uuid":"305068562","full_name":"mersocarlin/docker-node","owner":"mersocarlin","description":"Base docker image for all of my NodeJS apps.","archived":false,"fork":false,"pushed_at":"2024-01-20T20:18:15.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-02-15T09:31:25.372Z","etag":null,"topics":["docker","docker-image","nodejs"],"latest_commit_sha":null,"homepage":"https://hub.docker.com/r/mersocarlin/docker-node","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/mersocarlin.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}},"created_at":"2020-10-18T09:44:40.000Z","updated_at":"2022-07-09T20:13:31.000Z","dependencies_parsed_at":"2024-01-20T21:29:45.853Z","dependency_job_id":"b0cce381-6678-425c-9657-b4481619d7ce","html_url":"https://github.com/mersocarlin/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/mersocarlin%2Fdocker-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mersocarlin%2Fdocker-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mersocarlin%2Fdocker-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mersocarlin%2Fdocker-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mersocarlin","download_url":"https://codeload.github.com/mersocarlin/docker-node/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248058584,"owners_count":21040776,"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","docker-image","nodejs"],"created_at":"2024-12-23T10:56:17.949Z","updated_at":"2025-04-09T15:35:18.193Z","avatar_url":"https://github.com/mersocarlin.png","language":"Dockerfile","readme":"# mersocarlin/docker-node\n\nBase docker image for all of my NodeJS apps.\n\n## 📖 How to\n\nIn `Dockerfile`:\n\n```\nFROM mersocarlin/docker-node\n\n# create app directory in container\nRUN mkdir -p /app\n\n# set /app directory as default working directory\nWORKDIR /app\n\n# copy package.json, yarn.lock (or package-lock.json) and install dependencies\nADD package.json yarn.lock /app/\n\n# --pure-lockfile: Don’t generate a yarn.lock lockfile\nRUN yarn --pure-lockfile\n\nCOPY . /app/\n\n# expose container port\nEXPOSE 3001\n\nCMD [ \"yarn\", \"test\" ]\n```\n\n## Publishing a new version to Docker registry\n\n```bash\ndocker build -t mersocarlin/docker-node:20-alpine\ngit tag v20-alpine\ndocker tag mersocarlin/docker-node:20-alpine mersocarlin/docker-node:latest\ndocker push mersocarlin/docker-node:latest\ngit push origin --tags\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmersocarlin%2Fdocker-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmersocarlin%2Fdocker-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmersocarlin%2Fdocker-node/lists"}