docker-node
docker-node copied to clipboard
Official Docker Image for Node.js :whale: :turtle: :rocket:
## Problem Yarn v1 is included in the `docker-node` images, however it is receiving only [limited security updates](https://endoflife.date/yarn) and the [guidance has been to migrate](https://yarnpkg.com/migration/overview) to modern Yarn since 2020....
## Description This IMHO highlights a critical part. ## Motivation and Context Fixes https://github.com/nodejs/docker-node/issues/2287 (see there for more reasoning) IMHO, you may also link the best practices on https://hub.docker.com/_/node/#how-to-use-this-image directly,...
## Description When implementing the advice on the [best practice page](https://github.com/nodejs/docker-node/blob/main/docs/BestPractices.md#non-root-user), I was struggling to get my code to execute. After some debugging I realized that the `node` user did...
## Problem Many people likely follow [your simple guide](https://github.com/nodejs/docker-node/blob/main/README.md#how-to-use-this-image) here. It is, however, a security best practice to make your service run as non-root inside the container: https://docs.docker.com/build/building/best-practices/#user Especially when...
## Environment N/A ## Expected Behavior Following up-to-date links on Docker I should get no strange information. This may be irritating to (new) users or so. ## Current Behavior On...
## Environment * **Platform**: bitbucket build for AWS Lambda * **Docker Version**: * **Node.js Version**: 22 * **Image Tag**: node:22-alpine ## Expected Behavior Build should be able to communicate via...