Logo
Explore Docs Blog Community Main Website Help
Sign In
host.today/ht-docker-node
2
0
Fork 0
You've already forked ht-docker-node
Code Issues Pull Requests Actions Packages Projects Releases Wiki Activity
Files
bb8d623c95bf5cc7775c5e0d2d2959bdcef12266
ht-docker-node/image_support_files/bash-with-nvm

10 lines
209 B
Plaintext
Raw Normal View History

refactor(nvm): Move wrapper scripts to image_support_files directory Improved code organization and maintainability: - Created image_support_files/ directory for Docker helper scripts - Moved bash-with-nvm and docker-entrypoint.sh to support directory - Added comprehensive README.md documenting each script's purpose - Updated Dockerfile to COPY from organized directory structure Benefits: - Cleaner repository structure - Scripts are now version-controlled files (not echo chains) - Easier to read, modify, and maintain - Self-documented with in-directory README No functional changes - all nvm functionality remains identical.
2025-10-26 10:38:59 +00:00
#!/bin/bash
set -e
# Load nvm before executing Dockerfile RUN commands
export NVM_DIR="/usr/local/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
# Execute the command passed to this wrapper
eval "$@"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.7 Page: 20ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API Legal Info/Impressum