Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
New
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
nodejs
/
docker-node
Public
Notifications
You must be signed in to change notification settings
Fork
2k
Star
8.6k
Code
Issues
46
Pull requests
15
Discussions
Actions
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Security and quality
Insights
Commits
Breadcrumbs
History for
docker-node
docs
BestPractices.md
on
main
User selector
All users
All time
Commit history
Commits on May 18, 2026
docs: remove Yarn upgrade/downgrade best practices
MikeMcC399
committed
b0f11c4
Copy full SHA for b0f11c4
Commits on Apr 13, 2026
remove size-saving information
Show description for 3133943
MikeMcC399
committed
3133943
Copy full SHA for 3133943
Add example for Debian without npm or Yarn
MikeMcC399
committed
7f4beab
Copy full SHA for 7f4beab
Commits on Mar 8, 2026
docs: update smaller images (npm/yarn) example to current versions
MikeMcC399
committed
ac1212e
Copy full SHA for ac1212e
Commits on Oct 16, 2025
Replace obsolete ENV VAR VALUE with ENV VAR=VALUE
Show description for 3e2f6d5
orgads
committed
3e2f6d5
Copy full SHA for 3e2f6d5
Commits on Jan 16, 2025
docs: Use numeric uid instead of username in Dockerfile
Show description for 655ca34
candrews
authored
655ca34
Copy full SHA for 655ca34
Commits on Jun 4, 2024
Update the node-gyp alpine docs section to account for Node 18 in Alpine 3.20 python issue
LaurentGoderre
committed
8db5955
Copy full SHA for 8db5955
Commits on Mar 30, 2024
docs: added punctuation
grjan7
committed
47b3109
Copy full SHA for 47b3109
Commits on Oct 18, 2023
Merge pull request #1771 from zsolt-dev/zsolt-dev-patch-1
Show description for c7cf5c2
LaurentGoderre
authored
c7cf5c2
Copy full SHA for c7cf5c2
Commits on Mar 8, 2023
Add `--init` to `docker run` example
Show description for 30e942e
florianmutter
authored
30e942e
Copy full SHA for 30e942e
Commits on Sep 28, 2022
Refactor example in best practices
zsolt-dev
authored
647fbaa
Copy full SHA for 647fbaa
Commits on Sep 17, 2022
Update example config in best practices
Show description for ebc9c19
zsolt-dev
authored
ebc9c19
Copy full SHA for ebc9c19
Commits on Sep 16, 2022
Merge two commands in example dockerfile
zsolt-dev
authored
0c3d9de
Copy full SHA for 0c3d9de
Update best practices table of Contents
zsolt-dev
authored
999efab
Copy full SHA for 999efab
Add an example of a smaller alpine image without npm/yarn
zsolt-dev
authored
9025d87
Copy full SHA for 9025d87
Commits on Jan 6, 2022
Update BestPractices.md
Show description for 1c1c000
jmealo
authored
1c1c000
Copy full SHA for 1c1c000
Commits on Nov 8, 2021
docs: Update instructions for python 3
nschonni
authored
8a750d6
Copy full SHA for 8a750d6
Commits on Nov 2, 2020
fix: DocToc in Bestpractices.md
Show description for 7472162
nschonni
committed
7472162
Copy full SHA for 7472162
Commits on Oct 14, 2019
Added 'Upgrading/downgrading Yarn' to ToC
Ted Stoychev
authored
1705b4a
Copy full SHA for 1705b4a
Commits on Oct 9, 2019
Update Upgrading/downgrading Yarn best practice
Khaled Bentoumi
authored and
LaurentGoderre
committed
e18668a
Copy full SHA for e18668a
Commits on Aug 28, 2019
docs(BestPractices.md/Handling Kernel Signals): fix
Show description for 5510c50
yxliang01
authored
5510c50
Copy full SHA for 5510c50
Commits on May 1, 2019
fix: remove use of virtual in node-gyp multistage
aslafy-z
authored
52f1580
Copy full SHA for 52f1580
Commits on Dec 18, 2018
additional typo fix
Show description for bfb02b9
barakplasma
authored
bfb02b9
Copy full SHA for bfb02b9
documentation: fix typo in recommended multistage Dockerfile (#958)
barakplasma
authored and
SimenB
committed
617a31d
Copy full SHA for 617a31d
Commits on Dec 2, 2018
Adds documentation for using node-gyp in alpine release (#907)
dcohenb
authored and
SimenB
committed
7db40ed
Copy full SHA for 7db40ed
Commits on Nov 8, 2018
explain how to upgrade Yarn on Alpine (#902)
Show description for 99023fb
josephcsible
authored and
SimenB
committed
99023fb
Copy full SHA for 99023fb
Commits on Oct 10, 2018
update doc for alpine del node group and add user assign group (#871)
Show description for abee447
jeff-nz
authored and
SimenB
committed
abee447
Copy full SHA for abee447
Commits on Aug 1, 2018
Improve markdown syntax/style [ci skip]
PeterDaveHello
committed
e788c21
Copy full SHA for e788c21
Commits on May 15, 2018
Fix format issues
PeterDaveHello
committed
bbf199c
Copy full SHA for bbf199c
Commits on Apr 30, 2018
Update "Upgrading/downgrading Yarn" guide in BestPractices doc (#708)
Show description for 3c44288
dawnmist
authored and
SimenB
committed
3c44288
Copy full SHA for 3c44288
Commits on Mar 9, 2018
Update README.md
Show description for 926d446
Eyal Zekaria
committed
926d446
Copy full SHA for 926d446
Commits on Feb 7, 2018
Add an instruction for adding PATH for global modules (#624)
ryuheechul
authored and
SimenB
committed
c689df6
Copy full SHA for c689df6
Commits on Jan 14, 2018
Fix typo in "Non-root User" section (#612)
klaussner
authored and
SimenB
committed
f7ea65c
Copy full SHA for f7ea65c
Commits on Oct 31, 2017
tiny word fix (#561)
Show description for 68dcfbe
marktinsley
authored and
SimenB
committed
68dcfbe
Copy full SHA for 68dcfbe
Commits on Oct 20, 2017
Update BestPractices.md (#552)
Show description for 078ff84
mklan
authored and
SimenB
committed
078ff84
Copy full SHA for 078ff84
Previous
Next
You can’t perform that action at this time.